From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
Processes a String and returns the message-digest form of the input string.
The MD5Digest class uses the RSA Data Security, Inc. MD5 Message-Digest Algorithm. The MD5Digest class enables you to process a string in segments. Pass each string segment to the Process method. The Value property contains the current message digest and the Clear method clears the MD5Digest object so that you can repeat the process.
The MD5 message digest algorithm takes a message of any length and produces a 128-bit "fingerprint" or message digest of the input string. The MD5 algorithm is useful for digital signature applications, where a large file must be processed in a secure manner before being encrypted with a secret key under a system such as RSA. See RFC 1321 for complete information.
Compatibility Note: An MD5 hash created using php (i.e. from the web) returns a hex string. To compare an MD5 hash from an outside source to a Xojo-created MD5 hash requires that the Xojo-created hash be converted to a hex string for comparison.