aboutsummaryrefslogtreecommitdiffstats
path: root/docs/primitives
diff options
context:
space:
mode:
Diffstat (limited to 'docs/primitives')
-rw-r--r--docs/primitives/cryptographic-hashes.rst2
-rw-r--r--docs/primitives/symmetric-encryption.rst8
2 files changed, 7 insertions, 3 deletions
diff --git a/docs/primitives/cryptographic-hashes.rst b/docs/primitives/cryptographic-hashes.rst
index aeb30f40..abeb8467 100644
--- a/docs/primitives/cryptographic-hashes.rst
+++ b/docs/primitives/cryptographic-hashes.rst
@@ -86,5 +86,5 @@ MD5
.. class:: cryptography.primitives.hashes.MD5()
- MD5 is a deprecated cryptographic hash function. It has a 160-bit message
+ MD5 is a deprecated cryptographic hash function. It has a 128-bit message
digest and has practical known collision attacks.
diff --git a/docs/primitives/symmetric-encryption.rst b/docs/primitives/symmetric-encryption.rst
index 73d8ad37..9768246c 100644
--- a/docs/primitives/symmetric-encryption.rst
+++ b/docs/primitives/symmetric-encryption.rst
@@ -33,11 +33,15 @@ where the encrypter and decrypter both use the same key.
.. method:: encryptor()
- :return :class:`CipherContext`: encryption instance
+ :return: An encrypting
+ :class:`~cryptography.primitives.interfaces.CipherContext`
+ provider.
.. method:: decryptor()
- :return :class:`CipherContext`: decryption instance
+ :return: A decrypting
+ :class:`~cryptography.primitives.interfaces.CipherContext`
+ provider.
.. class:: cryptography.primitives.interfaces.CipherContext()