From 288bae7ede180812c1229fc82eda76e47aa73f58 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 8 Jan 2014 21:46:18 -0600 Subject: rewrite some text about the hmac verify method --- docs/hazmat/primitives/hmac.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs/hazmat/primitives/hmac.rst') 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 -- cgit v1.2.3