Functions
Const hmacSHA512
- hmacSHA512(key: Uint8Array, buffer: Uint8Array): Uint8Array
-
Parameters
-
key: Uint8Array
-
buffer: Uint8Array
Returns Uint8Array
Const keccak256
- keccak256(input: string | number | bigint | ArrayBufferLike | number[]): Uint8Array
-
Parameters
-
input: string | number | bigint | ArrayBufferLike | number[]
Returns Uint8Array
Const pbkdf2
- pbkdf2(buffer: Uint8Array, salt: Uint8Array, iterations?: number, length?: number, digest?: string): Uint8Array
-
Parameters
-
buffer: Uint8Array
-
salt: Uint8Array
-
iterations: number = 2048
-
length: number = 64
-
digest: string = 'sha512'
Returns Uint8Array
Const ripemd160
- ripemd160(buffer: Uint8Array): Uint8Array
-
Parameters
Returns Uint8Array
Const sha256
- sha256(buffer: Uint8Array): Uint8Array
-
Parameters
Returns Uint8Array
Hash a buffer with provided key using HMAC-SHA512.