We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f290e4e commit 4c3cd57Copy full SHA for 4c3cd57
doc/usage.rst
@@ -187,8 +187,8 @@ function and then use the :py:func:`rsa.sign_hash` function to sign the hash:
187
>>> signature = rsa.sign_hash(hash, privkey, 'SHA-1')
188
189
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
+function. If the verification is successful, this function returns
+the hash algorithm used as a string:
192
193
>>> message = 'Go left at the blue tree'.encode()
194
>>> rsa.verify(message, signature, pubkey)
0 commit comments