Internet Direct (Indy) Version 9.0.2 Beta
TIdHashElf.HashValue
Implements the hashing algorithm compatible with the UNIX ELF format.

function HashValue(AStream: TStream): LongWord; override;
Parameters
AStream: TStream
Stream containing input values for the hashing algorithm.

Returns
LongWord - 32-bit hash value calculated from input data.

Description
HashValue is an overriden LongWord method in TIdHashElf that implements a hash value calculation algorithm that is compatible with the UNIX ELF format for linker and object files.