crypto/crypto/aead/aead
library
Classes
-
AEAD
-
Contract for an Authenticated Encryption with Associated Data (AEAD)
cipher — encryption that also authenticates the ciphertext and any
associated (unencrypted) data.
-
AEADApi
-
Constructs AEAD ciphers (ChaCha20-Poly1305, XSalsa20-Poly1305, AES-GCM)
-
ChaCha20Poly1305
-
ChaCha20-Poly1305 (RFC 8439) AEAD cipher.
-
DartAEADApi
-
AEADApi backed by the pure-Dart implementations in this package
(GCM/AES, ChaCha20Poly1305, XSalsa20Poly1305).
-
ECB
-
Electronic Codebook (ECB) mode for AES encryption and decryption.
-
GCM
-
Galois/Counter Mode (GCM): authenticated encryption built from a
16-byte-block cipher run in CTR mode, with a GHASH-based tag.
-
NativeAEADApi
-
AEADApi backed by a native (FFI/platform) implementation.
-
Salsa20
-
Salsa20 stream cipher (Bernstein, Salsa20/20) with
HSalsa20 and
XSalsa20 keystream derivation.
-
SalsaBox
-
NaCl
crypto_box: X25519 key agreement + XSalsa20-Poly1305.
-
SessionCrypto
-
TON Connect session cryptography (
SessionCrypto in @tonconnect/protocol).
-
TonConnectKeyPair
-
Serializable TON Connect session keypair (hex strings, no
0x prefix).
-
ValidatedAEADApi
-
AEADApi wrapper that validates key length before delegating.
-
XSalsa20Poly1305
-
XSalsa20-Poly1305 authenticated encryption (NaCl
crypto_secretbox).