aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/cryptographic-hashes.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/hazmat/primitives/cryptographic-hashes.rst')
-rw-r--r--docs/hazmat/primitives/cryptographic-hashes.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/cryptographic-hashes.rst b/docs/hazmat/primitives/cryptographic-hashes.rst
index 02c7b5e1..f6a3f7a1 100644
--- a/docs/hazmat/primitives/cryptographic-hashes.rst
+++ b/docs/hazmat/primitives/cryptographic-hashes.rst
@@ -67,12 +67,13 @@ Message Digests
:return bytes: The message digest as bytes.
- .. method:: verify(sig)
+ .. method:: verify(digest)
- Finalize the current context and securely compare digest to sig.
+ Finalize the current context and securely compare that digest to ``digest``.
+ :param bytes digest: Received hash digest
:raises cryptography.exceptions.AlreadyFinalized: See :meth:`finalize`
- :raises cryptography.exceptions.InvalidSignature: If sig does not match digest
+ :raises cryptography.exceptions.InvalidSignature: If hash digest does not match digest
.. _cryptographic-hash-algorithms: