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.

XChaCha12Poly1305

XChaCha20-Poly1305 authenticated cipher Reduced-rounds versions are faster than the full-round version, but have a lower security margin. However, ChaCha is still believed to have a comfortable security even with only 8 rounds.

chacha20.XChaCha12Poly1305
pub const XChaCha12Poly1305 = XChaChaPoly1305(12)

File

lib/std/crypto/chacha20.zig:72

Code

pub const XChaCha12Poly1305 = XChaChaPoly1305(12)