Namespace: SHA3

Hacl~SHA3

Methods

(static) hash_224(input) → {buffer}

Parameters:
Name Type Description
input buffer size input_len
Source:
Returns:
hash - size 28
Type
buffer

(static) hash_256(input) → {buffer}

Parameters:
Name Type Description
input buffer size input_len
Source:
Returns:
hash - size 32
Type
buffer

(static) hash_384(input) → {buffer}

Parameters:
Name Type Description
input buffer size input_len
Source:
Returns:
hash - size 48
Type
buffer

(static) hash_512(input) → {buffer}

Parameters:
Name Type Description
input buffer size input_len
Source:
Returns:
output - size 64
Type
buffer

(static) keccak(rate, capacity, input, suffix, output_len) → {buffer}

Parameters:
Name Type Description
rate uint32
capacity uint32
input buffer size input_len
suffix uint32
output_len uint32
Source:
Returns:
digest - size output_len
Type
buffer