Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstHash.HashData

procedure HashData(const aData; Count: Int64); override;
See TstCustomMAC.HashData; feeds Count octets at aData directly into the underlying tHash instance. Unlike Done/GetContext/SetUpContext this does NOT lazily create the tHash -- SetUp (run automatically by SetKeyIntf/ SetKeyBuf, or called explicitly) must have run first. This is what HashStr/HashPtr/HashIntf ultimately call.