Documentation
    Preparing search index...

    Shape of bcrypt config

    type BcryptConfig = {
        rounds?: number;
        saltSize?: number;
        version?: 97 | 98;
    }
    Index

    Properties

    rounds?: number

    The cost of processing the data https://www.npmjs.com/package/bcrypt#a-note-on-rounds

    Default is 10

    saltSize?: number

    The size (in bytes) for the auto generated hash salt.

    Default is 16

    version?: 97 | 98

    The bcrypt version to use. The latest version is better

    Default is 98