Internet Direct (Indy) Version 9.0.1 Beta
TIdHashMessageDigest4.HashValue
Implements calculation of the 128-bit "fingerprint" or "message digest" for the MD4 message digest algorithm.

function HashValue(AStream: TStream): T4x4LongWordRecord; override;
Parameters
AStream: TStream
Stream containing input values for the message digest algorithm.

Returns
T4x4LongWordRecord - 128-bit message digest calculated from the input data.

Description
HashValue is an overridden T4x4LongWordRecord function in TIdHashMessageDigest4 that implements calculation of the 128-bit "fingerprint" or "message digest" for the values in the AStream input stream. HashValue reads the byte values in AStream, and applies the message digest algorithm required for MD4.