diff options
Diffstat (limited to 'rsa/pkcs1.py')
-rw-r--r-- | rsa/pkcs1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsa/pkcs1.py b/rsa/pkcs1.py index 10ee50b..8d77a97 100644 --- a/rsa/pkcs1.py +++ b/rsa/pkcs1.py @@ -157,7 +157,7 @@ def _pad_for_signing(message: bytes, target_length: int) -> bytes: message]) -def encrypt(message: bytes, pub_key: key.PublicKey): +def encrypt(message: bytes, pub_key: key.PublicKey) -> bytes: """Encrypts the given message using PKCS#1 v1.5 :param message: the message to encrypt. Must be a byte string no longer than |