Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCustomMAC.HashStream

procedure HashStream(aData: tStream; Count: Integer);
Convenience wrapper that reads Count octets from aData (a stream) and feeds them through HashIntf; pass Count = 0 to hash the whole stream from position 0, or a negative Count to hash from the current position to the end. An application uses this to MAC/hash file or network-buffer content held in a TStream without manually chunking it. No client/server-specific meaning.