• Home
Name Date Size #Lines LOC

..--

doc/03-May-2024-1,275805

rsa/03-May-2024-3,0671,928

tests/03-May-2024-1,406872

.codeclimate.ymlD03-May-2024224 1817

.coveragercD03-May-2024158 65

.gitignoreD03-May-2024168 2015

.travis.ymlD03-May-2024598 3116

CHANGELOG.txtD03-May-20245.1 KiB165109

LICENSED03-May-2024577 1410

MANIFEST.inD03-May-2024131 76

METADATAD03-May-2024455 1918

MODULE_LICENSE_APACHE2D03-May-20240

NOTICED03-May-2024577 1410

OWNERSD03-May-2024212 54

PipfileD03-May-2024306 2016

Pipfile.lockD03-May-202414.6 KiB320319

README.mdD03-May-20241.7 KiB4429

create_timing_table.pyD03-May-20241.3 KiB4518

setup.cfgD03-May-202463 64

setup.pyD03-May-20242.6 KiB6747

speed.shD03-May-20241.4 KiB4422

tox.iniD03-May-2024411 2116

README.md

1Pure Python RSA implementation
2==============================
3
4[![PyPI](https://img.shields.io/pypi/v/rsa.svg)](https://pypi.org/project/rsa/)
5[![Build Status](https://travis-ci.org/sybrenstuvel/python-rsa.svg?branch=master)](https://travis-ci.org/sybrenstuvel/python-rsa)
6[![Coverage Status](https://coveralls.io/repos/github/sybrenstuvel/python-rsa/badge.svg?branch=master)](https://coveralls.io/github/sybrenstuvel/python-rsa?branch=master)
7[![Code Climate](https://img.shields.io/codeclimate/github/sybrenstuvel/python-rsa.svg)](https://codeclimate.com/github/sybrenstuvel/python-rsa)
8
9[Python-RSA](https://stuvel.eu/rsa) is a pure-Python RSA implementation. It supports
10encryption and decryption, signing and verifying signatures, and key
11generation according to PKCS#1 version 1.5. It can be used as a Python
12library as well as on the commandline. The code was mostly written by
13Sybren A.  Stüvel.
14
15Documentation can be found at the [Python-RSA homepage](https://stuvel.eu/rsa).
16
17Download and install using:
18
19    pip install rsa
20
21or download it from the [Python Package Index](https://pypi.org/project/rsa/).
22
23The source code is maintained at [GitHub](https://github.com/sybrenstuvel/python-rsa/) and is
24licensed under the [Apache License, version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
25
26
27Major changes in 4.0
28--------------------
29
30Version 3.4 was the last version in the 3.x range. Version 4.0 drops the following modules,
31as they are insecure:
32
33- `rsa._version133`
34- `rsa._version200`
35- `rsa.bigfile`
36- `rsa.varblock`
37
38Those modules were marked as deprecated in version 3.4.
39
40Furthermore, in 4.0 the I/O functions is streamlined to always work with bytes on all
41supported versions of Python.
42
43Version 4.0 drops support for Python 2.6 and 3.3.
44