1
{ Source provided for Free Pascal Bug Report 2958 }
2
{ Submitted by "Marco ( Gory Bugs Department)" on 2004-02-08 }
10
TIdHash = class(TObject);
12
TIdHash32 = class(TIdHash)
14
function HashValue(const ASrc: string): LongWord; overload;
15
function HashValue(AStream: TStream): LongWord; overload; virtual; abstract;
18
TIdHashCRC32 = class( TIdHash32 )
20
function HashValue( AStream: TStream ) : LongWord; override;
21
function HashValue( AStream: TStream; const ABeginPos: Cardinal{=0}; const AEndPos : Cardinal{=0} ) : LongWord; overload;
25
function tidhash32.hashvalue(const ASrc:string):longword;
30
function tidhashCRC32.hashvalue(AStream:TStream):longword;
35
function tidhashcrc32.hashvalue(AStream:TStream;const ABeginPos: Cardinal{=0}; const AEndPos : Cardinal{=0} ) : LongWord;