diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-02 16:57:10 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-02 16:57:10 -0700 |
commit | 3949f1171084c2e1cfe43f638857ea0e0f8f246d (patch) | |
tree | 5699ddce355497cbb6890e9c55013d64e7cfc9d8 /docs/hazmat | |
parent | 738ac5a8e986dbba472232711be7fae804a01576 (diff) | |
download | cryptography-3949f1171084c2e1cfe43f638857ea0e0f8f246d.tar.gz cryptography-3949f1171084c2e1cfe43f638857ea0e0f8f246d.tar.bz2 cryptography-3949f1171084c2e1cfe43f638857ea0e0f8f246d.zip |
Changed excpetion name based on feedback from dreid
Diffstat (limited to 'docs/hazmat')
-rw-r--r-- | docs/hazmat/primitives/symmetric-encryption.rst | 8 |
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 |