std.crypto.aead
Authenticated Encryption with Associated Data.
- Kind
- struct
- Module
std.crypto
Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
The entries of std.crypto in the Zig reference. This page has 136 cards.
Authenticated Encryption with Associated Data.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Ascon-AEAD128 as specified in NIST SP 800-232 Section 4.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
ChaCha20-Poly1305 authenticated cipher, reduced to 8 rounds Reduced-rounds versions are faster than the full-round version, but have a lower security margin.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
ChaCha20-Poly1305 authenticated cipher, reduced to 12 rounds Reduced-rounds versions are faster than the full-round version, but have a lower security margin.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
ChaCha20-Poly1305 authenticated cipher, as designed for TLS.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
XChaCha20-Poly1305 authenticated cipher Reduced-rounds versions are faster than the full-round version, but have a lower security margin.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
XChaCha20-Poly1305 authenticated cipher Reduced-rounds versions are faster than the full-round version, but have a lower security margin.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
XChaCha20-Poly1305 authenticated cipher.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
The XSalsa stream cipher, combined with the Poly1305 MAC.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Authentication (MAC) functions.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Encoding and decoding.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Core functions, that should rarely be used directly by applications.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn State(comptime endian: std.builtin.Endian) type
An Ascon state.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Modes are generic compositions to construct encryption/decryption functions from block ciphers and permutations.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Diffie-Hellman key exchange functions.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
X25519 DH function.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Elliptic-curve arithmetic.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Group operations over Curve25519.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Group operations over Edwards25519.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Group operations over P256.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Group operations over P384.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Group operations over Edwards25519.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Group operations over secp256k1.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Finite-field arithmetic.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Hash functions.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
BLAKE3 is a cryptographic hash function that produces a 256-bit digest by default but also supports extendable output.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
The MD5 function is now considered cryptographically broken.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Key derivation functions.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Key Encapsulation Mechanisms.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
MAC functions requiring single-use secret keys.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
GHASH is a universal hash function that uses multiplication by a fixed parameter within a Galois field.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
POLYVAL is a universal hash function that uses multiplication by a fixed parameter within a Galois field.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
A password hashing function derives a uniform key from low-entropy input material such as passwords.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn pbkdf2(dk: []u8, password: []const u8, salt: []const u8, rounds: u32, comptime Prf: type) (WeakParametersError || OutputTooLongError)!void
Apply PBKDF2 to generate a key from a password.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn secureZero(comptime T: type, s: []volatile T) void
Sets a slice to zeroes.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Side-channels mitigations.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Digital signature functions.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Ed25519 (EdDSA) signatures.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Stream ciphers.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
IETF-variant of the ChaCha20 stream cipher, reduced to 8 rounds.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Original ChaCha20 stream cipher, reduced to 8 rounds.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
IETF-variant of the ChaCha20 stream cipher, reduced to 12 rounds.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Original ChaCha20 stream cipher, reduced to 12 rounds.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
IETF-variant of the ChaCha20 stream cipher, as designed for TLS.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Original ChaCha20 stream cipher.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
XChaCha20 (nonce-extended version of the IETF ChaCha20 variant) stream cipher, reduced to 8 rounds Reduced-rounds versions are faster than the full-round version, but have a lower security margin.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
XChaCha20 (nonce-extended version of the IETF ChaCha20 variant) stream cipher, reduced to 12 rounds Reduced-rounds versions are faster than the full-round version, but have a lower security margin.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
XChaCha20 (nonce-extended version of the IETF ChaCha20 variant) stream cipher.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn Salsa(comptime rounds: comptime_int) type
The Salsa stream cipher.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
The Salsa cipher with 20 rounds.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn XSalsa(comptime rounds: comptime_int) type
The XSalsa stream cipher.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
The XSalsa cipher with 20 rounds.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.cryptoSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.