diff options
author | Alex Stapleton <alexs@prol.etari.at> | 2014-05-16 15:25:48 +0100 |
---|---|---|
committer | Alex Stapleton <alexs@prol.etari.at> | 2014-05-16 15:25:48 +0100 |
commit | 3a7e9d3f4a9ad32c0782d69620543f6ad3adae93 (patch) | |
tree | 73e814331252a27cba43648ef7cb620eb487d5c2 /docs/hazmat | |
parent | d1c0fb8bbe0984d54ba0f4b7a8861bca0e446e19 (diff) | |
parent | 2e36fe1289bcf44f9ba232218a0ee666ea34efd2 (diff) | |
download | cryptography-3a7e9d3f4a9ad32c0782d69620543f6ad3adae93.tar.gz cryptography-3a7e9d3f4a9ad32c0782d69620543f6ad3adae93.tar.bz2 cryptography-3a7e9d3f4a9ad32c0782d69620543f6ad3adae93.zip |
Merge pull request #1043 from reaperhulk/support-some-cfb8
add CFB8 support for AES/3DES on CommonCrypto and OpenSSL backends
Diffstat (limited to 'docs/hazmat')
-rw-r--r-- | docs/hazmat/primitives/symmetric-encryption.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst index e5d8c65b..0e3a451c 100644 --- a/docs/hazmat/primitives/symmetric-encryption.rst +++ b/docs/hazmat/primitives/symmetric-encryption.rst @@ -275,6 +275,19 @@ Modes Must be the same number of bytes as the ``block_size`` of the cipher. Do not reuse an ``initialization_vector`` with a given ``key``. +.. class:: CFB8(initialization_vector) + + CFB (Cipher Feedback) is a mode of operation for block ciphers. It + transforms a block cipher into a stream cipher. The CFB8 variant uses an + 8-bit shift register. + + **This mode does not require padding.** + + :param bytes initialization_vector: Must be random bytes. They do not need + to be kept secret and they can be included in a transmitted message. + Must be the same number of bytes as the ``block_size`` of the cipher. + Do not reuse an ``initialization_vector`` with a given ``key``. + .. class:: GCM(initialization_vector, tag=None) .. danger:: |