CreateStreamingHasher (open)

Create a streaming hasher

Syntax

LOADLIB "wh::crypto.whlib";

INTEGER FUNCTION CreateStreamingHasher(STRING algorithm, STRING key_salt)

Parameters

STRING algorithm

Hashing algorithm ("MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512", "CRC32")

STRING key_salt

Optional key or salt for the specified algorithm

Return value

INTEGER

Hasher stream id. Use PrintTo to send data to the hasher