diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-08 21:46:18 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-08 21:46:18 -0600 |
commit | 288bae7ede180812c1229fc82eda76e47aa73f58 (patch) | |
tree | 6ea60db180cbebb0e84808b0bed6097c6fdcacd7 /docs/hazmat/primitives | |
parent | 607e423d54f5d4465cde802634d6121735952be6 (diff) | |
download | cryptography-288bae7ede180812c1229fc82eda76e47aa73f58.tar.gz cryptography-288bae7ede180812c1229fc82eda76e47aa73f58.tar.bz2 cryptography-288bae7ede180812c1229fc82eda76e47aa73f58.zip |
rewrite some text about the hmac verify method
Diffstat (limited to 'docs/hazmat/primitives')
-rw-r--r-- | docs/hazmat/primitives/hmac.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/hmac.rst b/docs/hazmat/primitives/hmac.rst index f4f5daa1..a21799be 100644 --- a/docs/hazmat/primitives/hmac.rst +++ b/docs/hazmat/primitives/hmac.rst @@ -37,9 +37,8 @@ message. If the backend doesn't support the requested ``algorithm`` an :class:`~cryptography.exceptions.UnsupportedAlgorithm` will be raised. - If you've been given a signature and need to check that it's correct, this - can be done with the :meth:`verify` method, you'll get an exception if the - signature is wrong: + To check that a given signature is correct use the :meth:`verify` method. + You will receive an exception if the signature is wrong: .. code-block:: pycon |