Type Function KMac [src]

The KMAC extendable output authentication function. KMAC is a keyed version of the cSHAKE function, with an optional context. It can be used as an SHA-3 based alternative to HMAC, as well as a generic keyed XoF (extendable output function).

Prototype

pub fn KMac(comptime security_level: u11) type

Parameters

security_level: u11

Source

pub fn KMac(comptime security_level: u11) type { return KMacLike(security_level, 0x04, 24); }