aboutsummaryrefslogtreecommitdiffstats
path: root/docs/primitives
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-22 08:24:28 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-22 08:24:28 -0700
commit077c50b069fd87e78cc305448013b6b04ceb88ca (patch)
tree6b50993c914f2ffb996b95848fdaa5fffc03a691 /docs/primitives
parent7b3c1b96d0fb37aaedf93d226a16389b78612f8c (diff)
parent2647636426d8a566cd1f0519cb67716e08715996 (diff)
downloadcryptography-077c50b069fd87e78cc305448013b6b04ceb88ca.tar.gz
cryptography-077c50b069fd87e78cc305448013b6b04ceb88ca.tar.bz2
cryptography-077c50b069fd87e78cc305448013b6b04ceb88ca.zip
Merge branch 'master' into triple-des
Diffstat (limited to 'docs/primitives')
-rw-r--r--docs/primitives/cryptographic-hashes.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/primitives/cryptographic-hashes.rst b/docs/primitives/cryptographic-hashes.rst
index d4dde042..aeb30f40 100644
--- a/docs/primitives/cryptographic-hashes.rst
+++ b/docs/primitives/cryptographic-hashes.rst
@@ -1,11 +1,13 @@
Message Digests
===============
-.. class:: cryptography.primitives.hashes.BaseHash
+.. class:: cryptography.primitives.hashes.BaseHash(data=None)
Abstract base class that implements a common interface for all hash
algorithms that follow here.
+ If ``data`` is provided ``update(data)`` is called upon construction.
+
.. method:: update(data)
:param bytes data: The bytes you wish to hash.