HmacSha256¶
Import: import system.crypto;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
HmacSha256¶
HMAC-SHA256 keyed message authentication (RFC 2104) with a 32-byte result.
sign¶
Computes HMAC-SHA256 of data under key. Keys of any length are accepted; keys longer than 64 bytes are hashed first, as RFC 2104 specifies.