blake2s
blake2s(
data,outputBytes?):Uint8Array<ArrayBuffer>
Defined in: packages/crypto-hash/src/blake2/blake2s.ts:18
BLAKE2s (RFC 7693), unkeyed. outputBytes chooses the digest length (1-32),
defaulting to 32 (BLAKE2s-256) — see blake2b’s module doc for why this
isn’t a post-hoc truncation.
No Web Crypto kernel — see blake2b’s module doc.
Parameters
Section titled “Parameters”Uint8Array
outputBytes?
Section titled “outputBytes?”number = 32
Returns
Section titled “Returns”Uint8Array<ArrayBuffer>
Throws
Section titled “Throws”When outputBytes is not an integer in [1, 32].