HMAC.this

this(Hash hash, const(ubyte)[] key)

Constructs a new HMAC instance.

Parameters

hashThe hash algorithm to use. This instance will be used exclusively by HMAC.
keyThe secret key.