Skip to main content

Pure-Python RSA implementation

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Pure Python RSA implementation

PyPI Build Status Coverage Status Code Climate

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. For all changes, check the changelog.

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

Security

Because of how Python internally stores numbers, it is very hard (if not impossible) to make a pure-Python program secure against timing attacks. This library is no exception, so use it with care. See https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/ for more info.

Setup of Development Environment

python3 -m venv .venv
. ./.venv/bin/activate
pip install poetry
poetry install

Publishing a New Release

. ./.venv/bin/activate
poetry publish --build

Project details


Download files

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

Source Distribution

rsa-4.8.tar.gz (28.4 kB view details)

Uploaded Source

Built Distribution

rsa-4.8-py3-none-any.whl (39.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rsa-4.8.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.7 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for rsa-4.8.tar.gz
Algorithm Hash digest
SHA256 5c6bd9dc7a543b7fe4304a631f8a8a3b674e2bbfc49c2ae96200cdbe55df6b17
MD5 edb224f927cf8f53ff530ab04d092c69
BLAKE2b-256 8cee4022542e0fed77dd6ddade38e1e4dea3299f873b7fd4e6d78319953b0f83

See more details on using hashes here.

File details

Details for the file rsa-4.8-py3-none-any.whl.

File metadata

  • Download URL: rsa-4.8-py3-none-any.whl
  • Upload date:
  • Size: 39.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.7 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for rsa-4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 95c5d300c4e879ee69708c428ba566c59478fd653cc3a22243eeb8ed846950bb
MD5 421f77b0d2a67ccb2ad9bfe954160011
BLAKE2b-256 30ab8fd9e88e6fa5ec41afca995938bbefb72195278e0cfc5bd76a4f29b23fb2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page