Skip to content

Commit 4c3cd57

Browse files
rvoddensybrenstuvel
authored andcommitted
Update usage.rst
1 parent f290e4e commit 4c3cd57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/usage.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ function and then use the :py:func:`rsa.sign_hash` function to sign the hash:
187187
>>> signature = rsa.sign_hash(hash, privkey, 'SHA-1')
188188

189189
In order to verify the signature, use the :py:func:`rsa.verify`
190-
function. This function returns the name of the hash used. If the verification
191-
is no successful a
190+
function. If the verification is successful, this function returns
191+
the hash algorithm used as a string:
192192

193193
>>> message = 'Go left at the blue tree'.encode()
194194
>>> rsa.verify(message, signature, pubkey)

0 commit comments

Comments
 (0)