function

md5 . crypto . sncode

VERSIONlatest Calculates the md5 hash of a string.

MD5(1e)

NAME

md5 - Calculates the md5 hash of a string.

SYNOPSIS

md5(str)

DESCRIPTION

This is a cryptographic hash injective function. It is used to transform a string into a 32-characters hexadecimal number.  This function calculates the message digest-5 of a string. It is a cryptographic hash function used to verify data integrity. A hash function is used to map digital data of some size to digital data with a fixed size. When cryptographic hash function is encountered, it is almost impossible to recreate the input data from the output data, the hash value. It produces a 128-bit hash value.

PARAMETERS

str
The input string.

RETURN

It returns the hash as a 32-characters hexadecimal number.

EXAMPLES

Note: In the followings examples, the _ between the { should be removed to make it work.

in:  res={_{md5("md5")}}.
out: res=1bc29b36f623ba82aaf6724fd3b16718.

in:  res={_{md5("")}}.
out: res=d41d8cd98f00b204e9800998ecf8427e.

AUTHOR

Written by Pusnei Sergey and Caroline Laplante, <sergey@sednove.com>