aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-22 10:36:00 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-22 10:36:00 -0500
commitf6cf956321ad99fe5bf071eb8832dbf2192c0ff5 (patch)
tree03e02a926d94b5f1576795373320b58db085a06e
parentf1903e96777ac8722357a45dbc5da3276c9f8e06 (diff)
downloadcryptography-f6cf956321ad99fe5bf071eb8832dbf2192c0ff5.tar.gz
cryptography-f6cf956321ad99fe5bf071eb8832dbf2192c0ff5.tar.bz2
cryptography-f6cf956321ad99fe5bf071eb8832dbf2192c0ff5.zip
more docs
-rw-r--r--docs/primitives/symmetric-encryption.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/primitives/symmetric-encryption.rst b/docs/primitives/symmetric-encryption.rst
index 72bf9711..79d712e5 100644
--- a/docs/primitives/symmetric-encryption.rst
+++ b/docs/primitives/symmetric-encryption.rst
@@ -26,20 +26,19 @@ where the encrypter and decrypter both use the same key.
>>> ct = encryptor.update(b"a secret message") + encryptor.finalize()
>>> decryptor = cipher.decryptor()
>>> decryptor.update(ct) + decryptor.finalize()
- "a secret message"
+ 'a secret message'
:param cipher: One of the ciphers described below.
:param mode: One of the modes described below.
.. method:: encryptor()
- :return :ref:`CipherContext <ciphercontext>`: encryption instance
+ :return :class:`CipherContext`: encryption instance
.. method:: decryptor()
- :return :ref:`CipherContext <ciphercontext>`: decryption instance
+ :return :class:`CipherContext`: decryption instance
-.. _ciphercontext:
.. class:: cryptography.primitives.interfaces.CipherContext()
When calling ``encryptor()`` or ``decryptor()`` on a BlockCipher object you