Skip to content

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.

Uint8Array

number = 32

Uint8Array<ArrayBuffer>

When outputBytes is not an integer in [1, 32].