diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/primitives/symmetric-encryption.rst | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/docs/primitives/symmetric-encryption.rst b/docs/primitives/symmetric-encryption.rst index a1f8ba32..7899e67d 100644 --- a/docs/primitives/symmetric-encryption.rst +++ b/docs/primitives/symmetric-encryption.rst @@ -88,14 +88,13 @@ Modes CTR (Counter) is a mode of operation for block ciphers. It is considered cryptographically strong. - :param bytes nonce: Recommended to be random. It is critical to never reuse - a ```nonce``` (or its subsequent incremented values) - with a given key. Any reuse of the nonce with the same - key compromises the security of every message encrypted - with that key. Must be the same number of bytes as the - ```block_size``` of the cipher with a given key. The - nonce does not need to be kept secret and may be - included alongside the ciphertext. + :param bytes nonce: Should be random bytes. It is critical to never reuse a + ``nonce`` with a given key. Any reuse of a nonce + with the same key compromises the security of every + message encrypted with that key. Must be the same + number of bytes as the ``block_size`` of the cipher + with a given key. The nonce does not need to be kept + secret and may be included alongside the ciphertext. .. class:: cryptography.primitives.block.modes.OFB(initialization_vector) |