Topic Path: Pending > TIdHashMessageDigest4.HashValue@TStream@Int64@Int64
ContentsIndexHome
PreviousUpNext
TIdHashMessageDigest4.HashValue@TStream@Int64@Int64

Implements calculation of the 128-bit "fingerprint" or "message digest" for the MD4 message digest algorithm.

Parameters 
Description 
AStream 
Stream containing input values for the message digest algorithm.
 
ABeginPos 
Initial stream position to use in calcualting the hash value.
 
AEndPos 
Final stream position to use in calculating the hash value. 

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

HashValue is an overloaded T4x4LongWordRecord function in TIdHashMessageDigest4 that implements calculation of the 128-bit "fingerprint" or "message digest" for the values in the AStream input stream. 

This version of the method provides support for calculating the hash value using only part of the data in AStream as indicated by the ABeginPos and AEndPos arguments. 

HashValue reads 64-byte chunks of data from the values in AStream, and applies the substitution algorithm required for MD4.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.