Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

KMac

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).

sha3.KMac
pub fn KMac(comptime security_level: u11) type

File

lib/std/crypto/sha3.zig:275

Code

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