Function
md5
Computes the MD5 hash of text (32 hex characters, upper case). Do not use it for passwords; use passwordHash for them.
Syntax
string md5(string str)Arguments
strstring- The text.
Returns
The hash or false.
Example
outputServerLog(md5("trilogy"))
See also
sha256Computes the SHA-256 hash of text (64 hex characters, upper case).hashComputes the hash of text with a chosen algorithm:md5,sha1,sha224,sha256,sha384orsha512. The result is hexadecimal.passwordHashCreates a secure password hash (scrypt; the result starts with$scrypt$) to store in a database instead of the password. The same text gives a different hash every time; check it withpasswordVerify. With a callback the hash goes to it.