summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rsa/pkcs1.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsa/pkcs1.py b/rsa/pkcs1.py
index ec6998e..bbfdee6 100644
--- a/rsa/pkcs1.py
+++ b/rsa/pkcs1.py
@@ -287,8 +287,8 @@ def decrypt(crypto: bytes, priv_key: key.PrivateKey) -> bytes:
def sign_hash(hash_value: bytes, priv_key: key.PrivateKey, hash_method: str) -> bytes:
"""Signs a precomputed hash with the private key.
- Hashes the message, then signs the hash with the given key. This is known
- as a "detached signature", because the message itself isn't altered.
+ Signs the hash with the given key. This is known as a "detached signature",
+ because the message itself isn't altered.
:param hash_value: A precomputed hash to sign (ignores message).
:param priv_key: the :py:class:`rsa.PrivateKey` to sign with