hmac_sha512_256
Implements HMAC using SHA512-256.
https://en.wikipedia.org/wiki/HMAC
function hmac_sha512_256(bytes memory key, bytes memory message) view returns (bytes32);
Parameters
Name | Type | Description |
---|---|---|
key | bytes | the secret key. |
message | bytes | the message to be authenticated. #### Example solidity bytes memory key = "arbitrary length key"; bytes memory message = "arbitrary length message"; bytes32 hmac = hmac_sha512_256(key, message) |