diff options
author | David Reid <dreid@dreid.org> | 2014-06-25 14:38:29 -0700 |
---|---|---|
committer | David Reid <dreid@dreid.org> | 2014-06-25 14:38:29 -0700 |
commit | 00bb1d4b168d9b49f2d3ae984522a8fa89482d3a (patch) | |
tree | 28d4c72865e018a94c12724ccbada4d48517ae09 /docs/hazmat/primitives | |
parent | 1d1855cec99f65bf32e1c52bb0b8aa5d06bcc78b (diff) | |
parent | d99fc650967456d63beee80c5637e5e9de8fca6f (diff) | |
download | cryptography-00bb1d4b168d9b49f2d3ae984522a8fa89482d3a.tar.gz cryptography-00bb1d4b168d9b49f2d3ae984522a8fa89482d3a.tar.bz2 cryptography-00bb1d4b168d9b49f2d3ae984522a8fa89482d3a.zip |
Merge pull request #1180 from alex/short-link
Use the short link version for various things
Diffstat (limited to 'docs/hazmat/primitives')
-rw-r--r-- | docs/hazmat/primitives/symmetric-encryption.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst index bcb1fb35..abc2b076 100644 --- a/docs/hazmat/primitives/symmetric-encryption.rst +++ b/docs/hazmat/primitives/symmetric-encryption.rst @@ -430,9 +430,9 @@ Interfaces make a message the correct size. ``CipherContext`` will not automatically apply any padding; you'll need to add your own. For block ciphers the recommended padding is - :class:`cryptography.hazmat.primitives.padding.PKCS7`. If you are using a + :class:`~cryptography.hazmat.primitives.padding.PKCS7`. If you are using a stream cipher mode (such as - :class:`cryptography.hazmat.primitives.modes.CTR`) you don't have to worry + :class:`~cryptography.hazmat.primitives.modes.CTR`) you don't have to worry about this. .. method:: update(data) @@ -443,7 +443,7 @@ Interfaces When the ``Cipher`` was constructed in a mode that turns it into a stream cipher (e.g. - :class:`cryptography.hazmat.primitives.ciphers.modes.CTR`), this will + :class:`~cryptography.hazmat.primitives.ciphers.modes.CTR`), this will return bytes immediately, however in other modes it will return chunks whose size is determined by the cipher's block size. |