string.hashMD5
| Syntax |
string.hashMD5 (s, flTranslate = true)
|
| Params |
s is the input data. flTranslate is an optional boolean parameter, determining the format of the return value.
|
| Action |
Coerces s to a string and computes a hash value using the MD5 algorithm.
|
| Returns |
The MD5 hash value of s. If flTranslate is true (the default), the hash value is returned as a string in hexadecimal notation (32 characters), otherwise a 16-byte binary object of unknown type is returned.
|
| Examples |
string.hashMD5 ("") » "d41d8cd98f00b204e9800998ecf8427e"
string.hashMD5 ("abcdefghijklmnopqrstuvwxyz")
string.hashMD5 ("message digest")
|
| Notes |
This verb is based on the reference implementation of the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" in RFC 1321. The MD5 algorithm is used for HTTP Digest Authentication (RFC 2617) and various other Internet protocols. This verb is new in Frontier 6.1.
|