Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Pure Python RSA implementation
==============================

[![PyPI](https://img.shields.io/pypi/v/rsa.svg)](https://pypi.python.org/pypi/rsa)
[![Build Status](https://travis-ci.org/sybrenstuvel/python-rsa.svg?branch=master)]
(https://travis-ci.org/sybrenstuvel/python-rsa)
[![Coverage Status](https://coveralls.io/repos/github/sybrenstuvel/python-rsa/badge.svg?branch=master)]
(https://coveralls.io/github/sybrenstuvel/python-rsa?branch=master)
[![Code Climate](https://img.shields.io/codeclimate/github/sybrenstuvel/python-rsa.svg)]
(https://codeclimate.com/github/sybrenstuvel/python-rsa)

[Python-RSA](https://stuvel.eu/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](https://stuvel.eu/rsa).

Download and install using:

pip install rsa

or download it from the [Python Package Index](https://pypi.python.org/pypi/rsa).

The source code is maintained at [Github](https://github.com/sybrenstuvel/python-rsa/) and is
licensed under the [Apache License, version 2.0](https://www.apache.org/licenses/LICENSE-2.0)


Plans for the future
--------------------

Version 3.4 is the last version in the 3.x range. Version 4.0 will drop the following modules,
as they are insecure:

- `rsa._version133`
- `rsa._version200`
- `rsa.bigfile`
- `rsa.varblock`

Those modules are marked as deprecated in version 3.4.

Furthermore, in 4.0 the I/O functions will be streamlined to always work with bytes on all
supported versions of Python.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rsa-3.4.1.tar.gz (40.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rsa-3.4.1-py2.py3-none-any.whl (46.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file rsa-3.4.1.tar.gz.

File metadata

  • Download URL: rsa-3.4.1.tar.gz
  • Upload date:
  • Size: 40.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rsa-3.4.1.tar.gz
Algorithm Hash digest
SHA256 6fb74d7d7d6ecbadd37dbad329b31d848fba5fe8b40ad6d12cf7e2e5aa15e464
MD5 35c1b927ca882fcaf182c9e28b65c8f5
BLAKE2b-256 01405239e10ec23dbae3d5eeb9655ec8744421704adb36035f62da1c60dcf27b

See more details on using hashes here.

File details

Details for the file rsa-3.4.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for rsa-3.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 51bfb64925761c065dba9be807c16aa5cd0573bb8831c7ba7e8c0fbd3e1ea7d3
MD5 9f41b8ea55a9dada4bdc8a228500b46a
BLAKE2b-256 84b2719400f0904c4e1246bc0c0a02a2140927f0e910c714a1a6e1f4d541cf1f

See more details on using hashes here.

Release history Release notifications | RSS feed

4.9.1

2 files

4.9

2 files

4.8

2 files

4.7.2

2 files

4.7.1

2 files

4.7

2 files

4.6

2 files

4.5

2 files

4.4.1

2 files

4.4

2 files

4.3

2 files

4.2

1 file

4.1.1

1 file

4.1

2 files

4.0

2 files

3.4.2

2 files

This release

3.4.1 This release

2 files

3.4

2 files

3.3

2 files

3.2.1

3.2

2 files

3.1.4

1 file

3.1.2

5 files

3.1.1

4 files

3.1

3 files

3.0

3 files

2.0

1 file

1.3.1

3 files

1.3

3 files

1.2

2 files

1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page