unsaltedMD5Hash

unsaltedMD5Hash

unsaltedMD5Hash

I store passwords as unsalted MD5 hashes. I offer no protection against bad guys.

Metadata

encode()

Convert a clear password to its encoded value

Arguments

Name Type Required Default Options Description
password string Yes Input password

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()