Skip to content

blake2s

blake2s(data?: string | Uint8Array<ArrayBufferLike>): HashObject

Defined in: packages/pythonlib/src/hashlib.ts:286

Create a new BLAKE2s hash object. Note: BLAKE2 is not available in Web Crypto API (browser).

Parameters

ParameterTypeDescription
data?string | Uint8Array<ArrayBufferLike>Optional initial data to hash

Returns

HashObject

A BLAKE2s hash object