diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-01-02 11:10:35 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-01-02 11:10:35 -0800 |
commit | 1225270be8af862a82e45342f086419dbedce0fb (patch) | |
tree | 9c4b2881e5673e2d91b7fc5d53efa4f8012f3bc9 /docs/hazmat/primitives | |
parent | a6d5d6ec53da5bea0193047c5e535a05442f2dfd (diff) | |
download | cryptography-1225270be8af862a82e45342f086419dbedce0fb.tar.gz cryptography-1225270be8af862a82e45342f086419dbedce0fb.tar.bz2 cryptography-1225270be8af862a82e45342f086419dbedce0fb.zip |
Correct spelling, fix phrasing, line wrap.
Diffstat (limited to 'docs/hazmat/primitives')
-rw-r--r-- | docs/hazmat/primitives/hmac.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/hmac.rst b/docs/hazmat/primitives/hmac.rst index b8f94fd2..dc5c54f8 100644 --- a/docs/hazmat/primitives/hmac.rst +++ b/docs/hazmat/primitives/hmac.rst @@ -74,8 +74,11 @@ message. .. method:: verify(signature) - Finalize the current context and securely compare digest to ``signature``. + Finalize the current context and securely compare digest to + ``signature``. - :param bytes signature: The bytes of the HMAC signature recieved. + :param bytes signature: The bytes to compare the current digest + against. :raises cryptography.exceptions.AlreadyFinalized: See :meth:`finalize` - :raises cryptography.exceptions.InvalidSignature: If signature does not match digest + :raises cryptography.exceptions.InvalidSignature: If signature does not + match digest |