Namespace: HMAC

Hacl~HMAC

Methods

(static) sha256(key, data) → {buffer}

Parameters:
Name Type Description
key buffer size key_len
data buffer size data_len
Source:
Returns:
tag - size 32
Type
buffer

(static) sha512(key, data) → {buffer}

Parameters:
Name Type Description
key buffer size key_len
data buffer size data_len
Source:
Returns:
tag - size 64
Type
buffer