aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-01-29 10:51:15 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-01-29 10:51:15 -0800
commiteef972b17e72e9e7cd6f7aad5e89f39b8c44188e (patch)
tree119585046079664777b3bbb31cf2144630db7899
parentd571d87740cdeeea3d64571c6d2760ba4d45d765 (diff)
parent4c75a8c34610aef42e3bf3635a393d14a55273f8 (diff)
downloadcryptography-eef972b17e72e9e7cd6f7aad5e89f39b8c44188e.tar.gz
cryptography-eef972b17e72e9e7cd6f7aad5e89f39b8c44188e.tar.bz2
cryptography-eef972b17e72e9e7cd6f7aad5e89f39b8c44188e.zip
Merge pull request #528 from reaperhulk/fix-527
Document HashAlgorithm
-rw-r--r--docs/hazmat/primitives/interfaces.rst25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index 2adad913..09a5a4ce 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -204,6 +204,31 @@ Asymmetric Interfaces
The public exponent. Alias for :attr:`public_exponent`.
+Hash Algorithms
+~~~~~~~~~~~~~~~
+
+.. class:: HashAlgorithm
+
+ .. attribute:: name
+
+ :type: str
+
+ The standard name for the hash algorithm, for example: ``"sha256"`` or
+ ``"whirlpool"``.
+
+ .. 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
~~~~~~~~~~~~~~~~~~~~~~~~