Message Authentication Code (MAC)
#Cryptography #MAC
The API and parameters for the random-key robust MAC are as follows:
- MAC(key, msg): Compute a message authentication code over input
msg
with keykey
, producing a fixed-length output ofNm
bytes. - Nm: The output size of the
MAC()
function in bytes.