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:
hash - size 64
Type
buffer

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

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