diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-29 11:49:35 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-29 11:49:35 -0600 |
commit | e51a2db0def7b8f01b5a7ce96f35eb07b4d14599 (patch) | |
tree | 1cdbc1d8ebd39f876acc130f34e7796873ae58e6 /docs | |
parent | 4f78ee7c368603507a2c2cf7ac4e474df3834f58 (diff) | |
download | cryptography-e51a2db0def7b8f01b5a7ce96f35eb07b4d14599.tar.gz cryptography-e51a2db0def7b8f01b5a7ce96f35eb07b4d14599.tar.bz2 cryptography-e51a2db0def7b8f01b5a7ce96f35eb07b4d14599.zip |
document HashAlgorithm
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hazmat/primitives/interfaces.rst | 28 |
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 ~~~~~~~~~~~~~~~~~~~~~~~~ |