aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/cryptographic-hashes.rst
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-03-22 15:09:34 -0700
committerAlex Stapleton <alexs@prol.etari.at>2014-03-27 07:31:12 +0000
commit7a489dbd116edd4ca5a6104b74748f3a4f712d15 (patch)
tree03b1fc8cdcde0e7c1032495d7d3b947540b931ad /docs/hazmat/primitives/cryptographic-hashes.rst
parent844c14a15884fb60871640576e30a61e6c4c2db1 (diff)
downloadcryptography-7a489dbd116edd4ca5a6104b74748f3a4f712d15.tar.gz
cryptography-7a489dbd116edd4ca5a6104b74748f3a4f712d15.tar.bz2
cryptography-7a489dbd116edd4ca5a6104b74748f3a4f712d15.zip
Fixed #809 -- switch back to always using UnsupportedAlgorithm
Diffstat (limited to 'docs/hazmat/primitives/cryptographic-hashes.rst')
-rw-r--r--docs/hazmat/primitives/cryptographic-hashes.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/hazmat/primitives/cryptographic-hashes.rst b/docs/hazmat/primitives/cryptographic-hashes.rst
index c318feeb..773d97f6 100644
--- a/docs/hazmat/primitives/cryptographic-hashes.rst
+++ b/docs/hazmat/primitives/cryptographic-hashes.rst
@@ -29,7 +29,8 @@ Message digests
'l\xa1=R\xcap\xc8\x83\xe0\xf0\xbb\x10\x1eBZ\x89\xe8bM\xe5\x1d\xb2\xd29%\x93\xafj\x84\x11\x80\x90'
If the backend doesn't support the requested ``algorithm`` an
- :class:`~cryptography.exceptions.UnsupportedHash` exception will be raised.
+ :class:`~cryptography.exceptions.UnsupportedAlgorithm` exception will be
+ raised.
Keep in mind that attacks against cryptographic hashes only get stronger
with time, and that often algorithms that were once thought to be strong,
@@ -45,7 +46,7 @@ Message digests
:class:`~cryptography.hazmat.backends.interfaces.HashBackend`
provider.
- :raises cryptography.exceptions.UnsupportedInterface: This is raised if the
+ :raises cryptography.exceptions.UnsupportedAlgorithm: This is raised if the
provided ``backend`` does not implement
:class:`~cryptography.hazmat.backends.interfaces.HashBackend`