diff options
author | Ayrx <terrycwk1994@gmail.com> | 2014-03-16 13:06:25 +0800 |
---|---|---|
committer | Ayrx <terrycwk1994@gmail.com> | 2014-03-16 13:06:25 +0800 |
commit | b482ca185fc1fa0a6cce614c442c35c2fbfac906 (patch) | |
tree | e3c79014d612943c29b7c9be8503e4991e035b20 /docs/hazmat | |
parent | 3fb221f1fb02ffed7a558bd06ba41bb75c329fc5 (diff) | |
download | cryptography-b482ca185fc1fa0a6cce614c442c35c2fbfac906.tar.gz cryptography-b482ca185fc1fa0a6cce614c442c35c2fbfac906.tar.bz2 cryptography-b482ca185fc1fa0a6cce614c442c35c2fbfac906.zip |
Added backend check to hash primitives
Diffstat (limited to 'docs/hazmat')
-rw-r--r-- | docs/hazmat/primitives/cryptographic-hashes.rst | 4 |
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. |