Internet Direct (Indy)
Home
PreviousUpNext
TIdHashMessageDigest2.HashValue@TStream

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

Parameters 
Description 
AStream 
Stream containing input values for the message digest algorithm. 

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

HashValue is an overridden T4x4LongWordRecord function in TIdHashMessageDigest2 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 18-round substitution algorithm required for MD2.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.