aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/interfaces.rst
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-02-13 12:49:27 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2015-02-13 12:49:27 -0500
commit0f696fab0e012bca0b69f2c933c679f5ecbe80ad (patch)
tree96d5ed3979e735548b0e3ec6a59f5017d820526b /docs/hazmat/primitives/interfaces.rst
parent723cc3f2ed921c01168ea8f35ca7e94f2cc0a44b (diff)
parent2636e4abd54140a26cf8f0793d1be16d9458e032 (diff)
downloadcryptography-0f696fab0e012bca0b69f2c933c679f5ecbe80ad.tar.gz
cryptography-0f696fab0e012bca0b69f2c933c679f5ecbe80ad.tar.bz2
cryptography-0f696fab0e012bca0b69f2c933c679f5ecbe80ad.zip
Merge pull request #1658 from reaperhulk/move-hash-interfaces
Move hash interfaces
Diffstat (limited to 'docs/hazmat/primitives/interfaces.rst')
-rw-r--r--docs/hazmat/primitives/interfaces.rst46
1 files changed, 0 insertions, 46 deletions
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index cd21ea1a..86a3a7e4 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -160,52 +160,6 @@ In 0.8 the EC key interfaces were moved to the
:mod:`cryptography.hazmat.primitives.asymmetric.ec` module.
-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.
-
-
-.. class:: HashContext
-
- .. attribute:: algorithm
-
- A :class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm` that
- will be used by this context.
-
- .. method:: update(data)
-
- :param bytes data: The data you want to hash.
-
- .. method:: finalize()
-
- :return: The final digest as bytes.
-
- .. method:: copy()
-
- :return: A :class:`~cryptography.hazmat.primitives.interfaces.HashContext`
- that is a copy of the current context.
-
-
Key derivation functions
------------------------