A flexible HMAC implementation, allowing to specify any HashAlgorithm
as input.
Available as a package.
Short answer: as a standard HMAC 😉
The HMAC
base class derives itself from HashAlgorithm
, so except the constructor which takes a secret key, the usage is the same.
NuGet packages:
Hashes block sizes (required by HashMAC.Create()
):
SHA3 size (bits) | Block size (bits) | Block size (bytes) |
---|---|---|
224 | 1152 | 144 |
256 | 1088 | 136 |
384 | 832 | 104 |
512 | 576 | 72 |