API Reference
stBaseHash
Hash Unit
Classes, interfaces and records
classtBaseHash
inherits from stSecUtils.tHash
procedure AssignState(aSource: tBaseHash);
Makes this hash's running state a copy of aSource's - the state Clone copies, into an existing instance, so a caller that restarts from the same prefix many times (PBKDF2's HMAC key blocks) allocates nothing per restart. aSource must be an instance of the same class.
procedure GetContext(aContext: Pointer); override;
procedure HashData(const aData; aCount: Int64); override;
procedure SetUpContext(aContext: Pointer); override;
classtBaseSHA
inherits from tBaseHash
(no public members)
classtBaseMD
inherits from tBaseHash
(no public members)