Skip to content

Commit

Permalink
Fix typos in AEAD documentation (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen committed Feb 8, 2023
1 parent 3f73024 commit d92e203
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions secret-key_cryptography/aead.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,28 +58,28 @@ Note that the latter is not a practical concern due to application limits, noisi

* For 16 KB long messages:

| Construction | Max number of encryptions | Max number of unsucessful decryption attempts |
| Construction | Max number of encryptions | Max number of unsuccessful decryption attempts |
| :----------------------------- | :------------------------ | :----------------------------------------------------- |
| AES256-GCM | 2^38 | 2^85 |
| All ChaCha20-Poly1305 variants | 2^63 | 2^63 (forgery with 2^-32 success requires ~2^77 bytes) |

* For 1 MB long messages:

| Construction | Max number of encryptions | Max number of unsucessful decryption attempts |
| Construction | Max number of encryptions | Max number of unsuccessful decryption attempts |
| :----------------------------- | :------------------------ | :----------------------------------------------------- |
| AES256-GCM | 2^32 | 2^78 |
| All ChaCha20-Poly1305 variants | 2^57 | 2^57 (forgery with 2^-32 success requires ~2^77 bytes) |

* For 1 GB long messages:

| Construction | Max number of encryptions | Max number of unsucessful decryption attempts |
| Construction | Max number of encryptions | Max number of unsuccessful decryption attempts |
| :----------------------------- | :------------------------ | :----------------------------------------------------- |
| AES256-GCM | 2^22 | 2^69 |
| All ChaCha20-Poly1305 variants | 2^47 | 2^47 (forgery with 2^-32 success requires ~2^77 bytes) |

* For 64 GB long messages:

| Construction | Max number of encryptions | Max number of unsucessful decryption attempts |
| Construction | Max number of encryptions | Max number of unsuccessful decryption attempts |
| :----------------------------- | :------------------------ | :----------------------------------------------------- |
| AES256-GCM | 2^16 | 2^63 |
| All ChaCha20-Poly1305 variants | 2^41 | 2^41 (forgery with 2^-32 success requires ~2^77 bytes) |
Expand Down

0 comments on commit d92e203

Please sign in to comment.