aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/symmetric-encryption.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/hazmat/primitives/symmetric-encryption.rst')
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index 48bad928..c1c8d247 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -43,8 +43,8 @@ where the encrypter and decrypter both use the same key.
provider.
If the backend doesn't support the requested combination of ``cipher``
- and ``mode`` a :class:`cryptography.exceptions.NoSuchAlgorithm` will
- be raised.
+ and ``mode`` an :class:`cryptography.exceptions.UnsupportedAlgorithm`
+ will be raised.
.. method:: decryptor()
@@ -53,8 +53,8 @@ where the encrypter and decrypter both use the same key.
provider.
If the backend doesn't support the requested combination of ``cipher``
- and ``mode`` a :class:`cryptography.exceptions.NoSuchAlgorithm` will
- be raised.
+ and ``mode`` an :class:`cryptography.exceptions.UnsupportedAlgorithm`
+ will be raised.
.. currentmodule:: cryptography.hazmat.primitives.interfaces