From 6624a444c665ff6655cb0f2b9cece131afab6e49 Mon Sep 17 00:00:00 2001 From: David Reid Date: Mon, 18 Nov 2013 12:44:30 -0800 Subject: Hashes and HMACs. --- docs/hazmat/bindings/interfaces.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/hazmat/bindings') diff --git a/docs/hazmat/bindings/interfaces.rst b/docs/hazmat/bindings/interfaces.rst index 851b31a9..98c099bb 100644 --- a/docs/hazmat/bindings/interfaces.rst +++ b/docs/hazmat/bindings/interfaces.rst @@ -85,6 +85,8 @@ Backend Interfaces .. method:: hash_supported(algorithm) + Check if the specified ``algorithm`` is supported by this backend. + :param algorithm: An instance of a :class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm` provider. @@ -95,6 +97,10 @@ Backend Interfaces .. method:: create_hash_ctx(algorithm) + Create a + :class:`~cryptogrpahy.hazmat.primitives.interfaces.HashContext` that + uses the specified ``algorithm`` to calculate a message digest. + :param algorithm: An instance of a :class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm` provider. @@ -110,6 +116,11 @@ Backend Interfaces .. method:: create_hmac_ctx(algorithm) + Create a + :class:`~cryptogrpahy.hazmat.primitives.interfaces.HashContext` that + uses the specified ``algorithm`` to calculate a hash-based message + authentication code. + :param algorithm: An instance of a :class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm` provider. -- cgit v1.2.3