From b482ca185fc1fa0a6cce614c442c35c2fbfac906 Mon Sep 17 00:00:00 2001 From: Ayrx Date: Sun, 16 Mar 2014 13:06:25 +0800 Subject: Added backend check to hash primitives --- docs/hazmat/primitives/cryptographic-hashes.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/hazmat/primitives/cryptographic-hashes.rst') 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. -- cgit v1.2.3