nlfiedler / exaf-rs

EXtensible Archiver Format
MIT License
0 stars 0 forks source link

Option to add associated data when encrypting file with AEAD. #6

Open nlfiedler opened 2 months ago

nlfiedler commented 2 months ago

The AEAD cipher literally means Authenticated Encryption and Associated Data. However, exaf-rs is not doing anything about the associated data part. It could be useful when creating an encrypted archive to attached unencrypted data. The point of AEAD is to ensure that both the cipher text and the AD have not been tampered with. A good example is patient medical records (encrypted) and their member identifier (plain text).