md5ThenBcryptHash

md5ThenBcryptHash

md5ThenBcryptHash

I take the MD5 of a password and run it through the bcrypt function

Metadata

bcryptOverMD5()

Apply bcrypt over the MD5 hash of a password

Arguments

Name Type Required Default Options Description
md5password string Yes MD5 hash of the input password

encode()

Convert a clear password to its encoded value

Arguments

Name Type Required Default Options Description
password string Yes Input password

isAvailable()

Is the hashing agorithm available in this environment?

Arguments

Name Type Required Default Options Description
None

matchesHashFormat()

Does the string match the format for this hash?

Arguments

Name Type Required Default Options Description
input string Yes String that may be a password hash

passwordMatch()

Compare a plain password against an encoded string

Arguments

Name Type Required Default Options Description
password string Yes Input password
hashedPassword string Yes Previously encoded password string
bCheckHashStrength string No false If true, the hash strength of the hashed password must also match those generated by encode()