aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/interfaces.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-29 11:49:35 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-29 11:49:35 -0600
commite51a2db0def7b8f01b5a7ce96f35eb07b4d14599 (patch)
tree1cdbc1d8ebd39f876acc130f34e7796873ae58e6 /docs/hazmat/primitives/interfaces.rst
parent4f78ee7c368603507a2c2cf7ac4e474df3834f58 (diff)
downloadcryptography-e51a2db0def7b8f01b5a7ce96f35eb07b4d14599.tar.gz
cryptography-e51a2db0def7b8f01b5a7ce96f35eb07b4d14599.tar.bz2
cryptography-e51a2db0def7b8f01b5a7ce96f35eb07b4d14599.zip
document HashAlgorithm
Diffstat (limited to 'docs/hazmat/primitives/interfaces.rst')
-rw-r--r--docs/hazmat/primitives/interfaces.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index 2adad913..f31e9f4a 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -204,6 +204,34 @@ Asymmetric Interfaces
The public exponent. Alias for :attr:`public_exponent`.
+Hash Algorithms
+~~~~~~~~~~~~~~~
+
+.. class:: HashAlgorithm
+
+ .. versionadded:: 0.2
+
+ .. attribute:: name
+
+ :type: str
+
+ The standard name for the hash algorithm, for example: ``sha1`` or
+ ``sha256``.
+
+ .. attribute:: digest_size
+
+ :type: int
+
+ The size of the resulting digest in bytes.
+
+ .. attribute:: block_size
+
+ :type: int
+
+ The internal block size of the hash algorithm in bytes.
+
+
+
Key Derivation Functions
~~~~~~~~~~~~~~~~~~~~~~~~