HMAC

HMAC digest with a hash algorithm.

template HMAC(alias Algorithm, size_t blockSize)
deprecated
HMAC
(
in ubyte[] key
,
in ubyte[] message
)

Members

Aliases

Digest
deprecated alias Digest = typeof(Algorithm.init.finish())
Undocumented in source.

Functions

HMAC
deprecated Digest HMAC(ubyte[] key, ubyte[] message)
Undocumented in source. Be warned that the author may not have intended to support it.

Parameters

Algorithm

std.digest-compatible hash type

blockSize

Algorithm block size, in bytes

key

Secret key bytes

message

Message data

Meta