The password for which a one-way hash is to be computed
An optional string that is used to compute the final hash. The same string must be given to testSimplePassword to verify a password later. If this string is kept secret, it can enhance the security of this function.
A base64 encoded string containing the salt and the hash value is returned.
Remarks: MD5 is not considered safe and is computationally cheap. Although the use of salt helps a bit, using this function is discouraged for systems where security matters.
testSimplePasswordHash, vibe.crypto.md5
Generates a password hash using MD5 together with a 32-bit salt.