AEAD (Authenticated Encryption with Associated Data)
Что такое AEAD (Authenticated Encryption with Associated Data)?
AEAD (Authenticated Encryption with Associated Data)A symmetric encryption primitive that provides confidentiality, integrity, and authenticity in one operation, with the ability to bind unencrypted 'associated data' (headers, routing info) to the ciphertext's authentication tag.
Authenticated Encryption with Associated Data (AEAD) is the modern building block of symmetric cryptography. An AEAD scheme takes a key, a nonce, a plaintext, and arbitrary associated data (AD) and produces a ciphertext plus an authentication tag; on decryption it returns the plaintext only if the tag verifies, otherwise refusing. The associated data is authenticated but not encrypted, letting protocols bind unencrypted context such as packet headers, sequence numbers, or version metadata to the ciphertext without ever sending them encrypted. Compared to encrypt-then-MAC or MAC-then-encrypt compositions, AEAD eliminates whole classes of bugs (padding oracles, key reuse across MAC and cipher, ordering mistakes) and is what every modern protocol — TLS 1.3, QUIC, IPsec ESP-GCM, Signal, Noise, WireGuard, JWE — uses. The dominant AEAD schemes are AES-GCM and ChaCha20-Poly1305; nonce-misuse-resistant variants (AES-GCM-SIV) exist for use cases where the caller cannot guarantee unique nonces. Always prefer an AEAD over a homebrew encrypt-and-MAC composition.
● Примеры
- 01
TLS 1.3 encrypts each record with AES-128-GCM or ChaCha20-Poly1305, using the record header bytes as associated data.
- 02
A protocol stores per-document encrypted blobs in a database; the document ID is passed as AD so an attacker cannot swap ciphertexts between documents without breaking the tag.
● Частые вопросы
Что такое AEAD (Authenticated Encryption with Associated Data)?
A symmetric encryption primitive that provides confidentiality, integrity, and authenticity in one operation, with the ability to bind unencrypted 'associated data' (headers, routing info) to the ciphertext's authentication tag. Относится к категории Криптография в кибербезопасности.
Что означает AEAD (Authenticated Encryption with Associated Data)?
A symmetric encryption primitive that provides confidentiality, integrity, and authenticity in one operation, with the ability to bind unencrypted 'associated data' (headers, routing info) to the ciphertext's authentication tag.
Как работает AEAD (Authenticated Encryption with Associated Data)?
Authenticated Encryption with Associated Data (AEAD) is the modern building block of symmetric cryptography. An AEAD scheme takes a key, a nonce, a plaintext, and arbitrary associated data (AD) and produces a ciphertext plus an authentication tag; on decryption it returns the plaintext only if the tag verifies, otherwise refusing. The associated data is authenticated but not encrypted, letting protocols bind unencrypted context such as packet headers, sequence numbers, or version metadata to the ciphertext without ever sending them encrypted. Compared to encrypt-then-MAC or MAC-then-encrypt compositions, AEAD eliminates whole classes of bugs (padding oracles, key reuse across MAC and cipher, ordering mistakes) and is what every modern protocol — TLS 1.3, QUIC, IPsec ESP-GCM, Signal, Noise, WireGuard, JWE — uses. The dominant AEAD schemes are AES-GCM and ChaCha20-Poly1305; nonce-misuse-resistant variants (AES-GCM-SIV) exist for use cases where the caller cannot guarantee unique nonces. Always prefer an AEAD over a homebrew encrypt-and-MAC composition.
Как защититься от AEAD (Authenticated Encryption with Associated Data)?
Защита от AEAD (Authenticated Encryption with Associated Data) обычно сочетает технические меры и операционные практики, как описано в определении выше.
Какие есть другие названия AEAD (Authenticated Encryption with Associated Data)?
Распространённые альтернативные названия: Authenticated encryption, AEAD scheme.
● Связанные термины
- cryptography№ 025
AES-GCM
Режим аутентифицированного шифрования, объединяющий AES в режиме счётчика с тегом аутентификации на основе GHASH, обеспечивая конфиденциальность и целостность за один проход.
- cryptography№ 179
ChaCha20-Poly1305
AEAD-конструкция, объединяющая поточный шифр ChaCha20 и одноразовый аутентификатор Poly1305; стандартизована в RFC 8439 для TLS 1.3 и WireGuard.
- cryptography№ 022
AES (Advanced Encryption Standard)
Стандартизированный NIST блочный шифр с длиной блока 128 бит и ключами 128, 192 или 256 бит, разработанный Дамоном и Раймном; основной симметричный шифр в мире.
- cryptography№ 189
Шифр (Cipher)
Алгоритм, преобразующий открытый текст в шифртекст (шифрование) и обратно (расшифрование); параметризуется одним или несколькими криптоключами.
- cryptography№ 121
Блочный шифр
Симметричный шифр, шифрующий блоки фиксированной длины с использованием секретного ключа; для данных произвольной длины применяется совместно с режимом работы.
- cryptography№ 1227
Поточный шифр
Симметричный шифр, шифрующий данные побитно или побайтно через XOR с псевдослучайной ключевой последовательностью, выработанной из ключа и nonce.
● См. также
- № 1386XChaCha20-Poly1305
- № 829Noise Protocol Framework