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.

ChaCha12Poly1305

ChaCha20-Poly1305 authenticated cipher, reduced to 12 rounds 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.ChaCha12Poly1305
pub const ChaCha12Poly1305 = ChaChaPoly1305(12)

File

lib/std/crypto/chacha20.zig:59

Code

pub const ChaCha12Poly1305 = ChaChaPoly1305(12)