aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/cryptographic-hashes.rst
diff options
context:
space:
mode:
authorAyrx <terrycwk1994@gmail.com>2014-03-16 13:06:25 +0800
committerAyrx <terrycwk1994@gmail.com>2014-03-16 13:06:25 +0800
commitb482ca185fc1fa0a6cce614c442c35c2fbfac906 (patch)
treee3c79014d612943c29b7c9be8503e4991e035b20 /docs/hazmat/primitives/cryptographic-hashes.rst
parent3fb221f1fb02ffed7a558bd06ba41bb75c329fc5 (diff)
downloadcryptography-b482ca185fc1fa0a6cce614c442c35c2fbfac906.tar.gz
cryptography-b482ca185fc1fa0a6cce614c442c35c2fbfac906.tar.bz2
cryptography-b482ca185fc1fa0a6cce614c442c35c2fbfac906.zip
Added backend check to hash primitives
Diffstat (limited to 'docs/hazmat/primitives/cryptographic-hashes.rst')
-rw-r--r--docs/hazmat/primitives/cryptographic-hashes.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/cryptographic-hashes.rst b/docs/hazmat/primitives/cryptographic-hashes.rst
index 627ca7bd..b7eee2f5 100644
--- a/docs/hazmat/primitives/cryptographic-hashes.rst
+++ b/docs/hazmat/primitives/cryptographic-hashes.rst
@@ -45,6 +45,10 @@ Message Digests
:class:`~cryptography.hazmat.backends.interfaces.HashBackend`
provider.
+ :raises cryptography.exceptions.UnsupportedInterface: This is raised if the
+ provided ``backend`` does not implement
+ :class:`~cryptography.hazmat.backends.interfaces.HashBackend`
+
.. method:: update(data)
:param bytes data: The bytes to be hashed.