Internet Direct (Indy) Version 9.0.2 Beta
|
function HashValue(ASrc: string): Word; overload; function HashValue(AStream: TStream): Word; virtual; abstract; overload;
The stream-based variant of HashValue is an abstract virtual function that must be reimplemented in a descendant class, like TIdHashCRC16, to support the specifics of the hashing algorithm. The string-based variant of HashValue relies on this implementation to calculate the hash value.