md5()

Calculates the MD5 hash of a string and returns it in hexadecimal format.

Syntax

md5({input_string})

Parameters

Parameter Type Description Comment
input_string String The string for which the MD5 hash will be calculated.

Return Value

Examples

Calculate the MD5 hash for the string “Hello, world!”

md5("Hello, world!"); // returns the MD5 hash in hexadecimal format

See also

crc16
crc32
sha256
sha256_f
md5
md5_f