Hex Core JS
    Preparing search index...

    Type Alias PasswordStrengthEstimatorProps

    PasswordStrengthEstimatorProps: {
        maxHashInputLength?: number;
        password: string;
    } & Partial<ClassNameProps & StyleProps>

    Type Declaration

    • OptionalmaxHashInputLength?: number

      The maximum length (in bytes) of data that will be used by the hashing algorithm. For example, most implementations of bcrypt have a max input length of 72 bytes meaning that passwords are only unique up to the first 72 bytes. Setting a maxHashInputLength causes the strength estimate of the password to ignore everything after the first maxHashInputLength bytes of the string.

    • password: string

      The password of which to evaluate strength.