Given a salt, secret, and input hash, tests whether the input hash matches the hash of the salt and secret.
Parameters: |
|
---|---|
Returns: | Boolean |
Returns a hex-encoded cryptographically secure random salt string.
Returns: | Hex encoded string. |
---|
Given a salt and a secret, returns a hex-encoded MD5 hash of the two strings.
Parameters: |
|
---|---|
Returns: | Hex encoded string. |