commit | 82976886ef02a1989ac33a084afd79055ee9cbd9 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Thu Apr 09 17:50:54 2020 -0700 |
committer | Xin Li <delphij@google.com> | Thu Apr 09 17:50:54 2020 -0700 |
tree | f54ee14eab245429432c89edb67261ed9a398060 | |
parent | 84794d30458f9b89e441bf8ccbb8e21e7da2f3d7 [diff] | |
parent | 30e64ae98fce5540d324789cfdf712c5772bd1ad [diff] |
DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into stag-aosp-master Bug: 151763422 Change-Id: I54aaabcc773f654e6233208b36c41c76fd80b9bb
Python-RSA is a pure-Python RSA implementation. It supports encryption and decryption, signing and verifying signatures, and key generation according to PKCS#1 version 1.5. It can be used as a Python library as well as on the commandline. The code was mostly written by Sybren A. Stüvel.
Documentation can be found at the Python-RSA homepage.
Download and install using:
pip install rsa
or download it from the Python Package Index.
The source code is maintained at GitHub and is licensed under the Apache License, version 2.0
Version 3.4 was the last version in the 3.x range. Version 4.0 drops the following modules, as they are insecure:
rsa._version133
rsa._version200
rsa.bigfile
rsa.varblock
Those modules were marked as deprecated in version 3.4.
Furthermore, in 4.0 the I/O functions is streamlined to always work with bytes on all supported versions of Python.
Version 4.0 drops support for Python 2.6 and 3.3.