Questions tagged [aead]
Authenticated Encryption with Associated Data
9 questions
0 votes
1 answer
84 views
Is it worth using Additional Associated Data in local-first encrypted notes app?
Context I decided to learn (or rather refresh my skills in) Java by creating a local-first desktop app for encrypted notes. Imagine a light version of Joplin (with less functionality) with notes ...
7 votes
1 answer
3k views
Should one really disable AEAD for recent GnuPG created PGP keys?
Apparently, there are some problems with the new defaults that are set when one creates a PGP key using a recent version of GnuPG (2.4). I ran into this after generating a new ECC/ED25519 key to ...
3 votes
1 answer
619 views
How to form the IV and Additional Data for TLS when encrypting the plaintext
When using AES GCM for encryption within TLS and referring to the below diagram: Is iv[0:3] the fixed IV established from the handshake and iv[4:11] are the current (write) sequence number + 1? For ...
1 vote
0 answers
262 views
Where is the 8 byte explicit nonce for decrypting AES GCM within TLS?
I'm confused how to retrieve the remaining 8 bytes of the nonce (to combine with the 4 bytes established during the handshake) to generate the 12 byte IV to decrypt AES 128 GCM. RFC 5288 "AES ...
3 votes
2 answers
607 views
Does any real world protocol makes use of the associated data in AEAD?
I'm trying to find evidence of use of the associated data (authenticated cleartext associated with the encrypted and authenticated data) feature offered by AEAD (Authenticated Encryption with ...