Concept Framework 2.0 documentation | Contents | Index |
Name | Version | Deprecated |
md5 | version 1.0 | no |
string md5(string str) |
str | [in] The string of which md5 is needed |
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. |
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 |
Documented by Eduard Suica, generation time: Fri Jan 21 18:06:20 2011 GMT | (c)2011 RadGs Software |