standard.lib.cripto.md5

md5 is available since version 1.0.

Prototype:

string md5(string str)

Parameters

str
[in] The string of which md5 is needed

Description:

Calculate the md5 hash of a string. Calculates the MD5 hash of str using the RSA Data Security, Inc. MD5 Message-Digest Algorithm, and returns that hash. The hash is a 32-character hexadecimal number.

Return value:

Returns the md5 hash as a string encapsulating a hex number.

Example
import standard.lib.cripto

class Main {
     function Main() {
          echo "The md5 hash of 'test' is : "+md5("test");
     }
}  

Results 
The md5 hash of 'test' is : 098f6bcd4621d373cade4e832627b4f6