diff options
-rw-r--r-- | lib/Crypto/Signature/PKCS1_PSS.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crypto/Signature/PKCS1_PSS.py b/lib/Crypto/Signature/PKCS1_PSS.py index 3840959..fb97b21 100644 --- a/lib/Crypto/Signature/PKCS1_PSS.py +++ b/lib/Crypto/Signature/PKCS1_PSS.py @@ -39,7 +39,7 @@ this: >>> h = SHA1.new() >>> h.update(message) >>> signer = PKCS1_PSS.new(key) - >>> signature = signer.sign(key) + >>> signature = signer.sign(h) At the receiver side, verification can be done like using the public part of the RSA key: |