KCML_MD5

Purpose

Computes a 128 bit MD5 hash from the given buffer

Definition

DEFSUB 'KCML_MD5(Text$, BYREF Digest$) AS Void

Parameters

TextString to be hashed. Trailing spaces clipped unless enclosed in STR() or FLD().
Digest16 byte buffer to receive the hash result

Description

Uses the RSA Data Security, Inc. MD5 message-digest algorithm (see RFC1321) to generate a 128 bit hash of a document. It is mathematically improbable that two different strings will generate the same message digest. This is very much more secure than a traditional CRC checksum but computationally more expensive to derive.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.