Authenticated Encryption (AE)
Authenticated encryption (AE) is any encryption scheme which simultaneously assures the data confidentiality and authenticity
Approaches
Encrypt-then-MAC (EtM)
Encrypt-and-MAC (E&M)
MAC-then-Encrypt (MtE)
Attacks
Key reuse
When the key is reused for encryption, it is possible to recover the plaintext using a chosen-ciphertext or chosen-plaintext attack, whether you’re given an encryption or decryption oracle (or both).
EtM
etm_key_reuse.py
| |
E&M
eam_key_reuse.py
| |
MtE
mt_key_reuse.py
| |
Resources
Last updated on