Indy 9 | Content | Index | Reference

TIdHashElf
Hierarchy, Methods, See Also, Unit: IdHashElf
Implements a UNIX ELF compatible hash calculation class.

    TIdHashElf = class(TIdHash32)

Unit
IdHashElf
Description
TIdHashElf is a TIdHash32 descendant that implements calculation of hash values using a hashing algorithm compatible with the UNIX ELF object file and linker format.

TIdHashElf.HashValue
TIdHashElf
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.
Return Value
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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.