nullHash

nullHash

nullHash

I store passwords in the clear. I make no attempt to hide the password.

Metadata

encode()

Convert a clear password to its hashed 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 a hashed string

Arguments

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