summaryrefslogtreecommitdiff
path: root/rsa/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'rsa/__init__.py')
-rw-r--r--rsa/__init__.py34
1 files changed, 27 insertions, 7 deletions
diff --git a/rsa/__init__.py b/rsa/__init__.py
index 4bc164e..8d23986 100644
--- a/rsa/__init__.py
+++ b/rsa/__init__.py
@@ -22,12 +22,21 @@ prevent repetitions, or other common security improvements. Use with care.
"""
from rsa.key import newkeys, PrivateKey, PublicKey
-from rsa.pkcs1 import encrypt, decrypt, sign, verify, DecryptionError, \
- VerificationError, find_signature_hash, sign_hash, compute_hash
+from rsa.pkcs1 import (
+ encrypt,
+ decrypt,
+ sign,
+ verify,
+ DecryptionError,
+ VerificationError,
+ find_signature_hash,
+ sign_hash,
+ compute_hash,
+)
__author__ = "Sybren Stuvel, Barry Mead and Yesudeep Mangalapilly"
-__date__ = '2021-02-24'
-__version__ = '4.8-dev0'
+__date__ = "2021-02-24"
+__version__ = "4.8-dev0"
# Do doctest if we're run directly
if __name__ == "__main__":
@@ -35,6 +44,17 @@ if __name__ == "__main__":
doctest.testmod()
-__all__ = ["newkeys", "encrypt", "decrypt", "sign", "verify", 'PublicKey',
- 'PrivateKey', 'DecryptionError', 'VerificationError',
- 'find_signature_hash', 'compute_hash', 'sign_hash']
+__all__ = [
+ "newkeys",
+ "encrypt",
+ "decrypt",
+ "sign",
+ "verify",
+ "PublicKey",
+ "PrivateKey",
+ "DecryptionError",
+ "VerificationError",
+ "find_signature_hash",
+ "compute_hash",
+ "sign_hash",
+]