Name: md5Digest

Type: function

Syntax: the md5Digest of <dataString> 

Syntax: md5Digest(<dataString>)

Summary: <return|Returns> a 128- <bit> <value> based on a <string>.

Introduced: 1.0

OS: mac,windows,linux,ios,android

Platforms: desktop,server,web,mobile

Example:
md5Digest("ABC")

Example:
set the savedPrint of field 1 to the md5Digest of field 1

Example:
if the savedPrint of field 1 is not the md5Digest of field 1 then beep

Parameters:
dataString (string): 

Returns: The <md5Digest> <function> <return|returns> a 128- <bit> value. (If you view this <value> as a <string>, it is 16 <characters> long.).

Description:
Use the <md5Digest> <function> to create a fingerprint of the <dataString> which can be checked later to ensure that the <string> has not changed.

The value returned for one <dataString> is mathematically unlikely to be identical to the value <return|returned> for an altered version of the <dataString>. Therefore, you can check the <md5Digest> of a <string> against a saved <md5Digest> to determine whether the <string> has changed since you saved the <value>.

For technical information about the MD-5 digest algorithm, see RFC 1321 at http://www.ietf.org/rfc/rfc1321.txt.

References: string (keyword), characters (keyword), base64Decode (function), base64Encode (function), charToNum (function), value (function), return (glossary), bit (glossary), function (control_st)

Tags: text processing
