diff options
| author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-17 12:06:46 -0500 |
|---|---|---|
| committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-17 12:06:46 -0500 |
| commit | 0ba2f9464693fe7ae0167eb47df9b1a96408ed9c (patch) | |
| tree | 55ec0b03f3c6b88adfa2a9e04b130497abfcd19c | |
| parent | 389892f8ad5700b152d20948ded9c540b2cdaff8 (diff) | |
| download | cryptography-0ba2f9464693fe7ae0167eb47df9b1a96408ed9c.tar.gz cryptography-0ba2f9464693fe7ae0167eb47df9b1a96408ed9c.tar.bz2 cryptography-0ba2f9464693fe7ae0167eb47df9b1a96408ed9c.zip | |
remove confusing explanation about reusing nonce in counter mode docs
| -rw-r--r-- | docs/primitives/symmetric-encryption.rst | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/primitives/symmetric-encryption.rst b/docs/primitives/symmetric-encryption.rst index 9520d6eb..21421d16 100644 --- a/docs/primitives/symmetric-encryption.rst +++ b/docs/primitives/symmetric-encryption.rst @@ -89,9 +89,7 @@ Modes never reuse a ``nonce`` with a given ``key``. Unlike :class:`~cryptography.primitives.block.modes.CBC`, reusing a nonce compromises the security of all data - encrypted under the key. Specifically, - (pt1 xor keystream) xor (pt2 xor keystream) is - equivalent to (pt1 xor pt2). + encrypted under the key. .. class:: cryptography.primitives.block.modes.OFB(initialization_vector) |
