Skip to main content

Python implementation of the RFC3447 or PKCS #1 version 2.0

Project description

https://travis-ci.org/bdauvergne/python-pkcs1.svg?branch=master

This package implements the PKCS #1 v2.0 standard from RSA Laboratories. It aims at a full and tested coverage of the standard, maximum portability by using only pure python and external dependencies only for performance gains.

Performance are improved by using the gmpy package to compute modular exponentiation if it is present.

The package contains the following modules:

  • pkcs1.primitives - integer<->byte string conversion

  • pkcs1.keys - RSA keys classes, naive RSA encryption

  • pkcs1.primes - prime number generation

  • pkcs1.eme_pkcs1_v15 - PKCS#1 v1.5 encoding for encryption

  • pkcs1.emsa_pkcs1_v15 - PKCS#1 v1.5 encoding for signature

  • pkcs1.mgf - mask generation function number one

  • pkcs1.exceptions - specialized exceptions

  • pkcs1.rsaes_pkcs1_v15 - RSA encryption using PKCS#1 v1.5 padding

  • pkcs1.rsaes_oaep - RSA encryption using non-deterministic OAEP padding

  • pkcs1.rsassa_pkcs1_v15 - RSA signature using PKCS#1 v1.5 encoding

  • pkcs1.rsassa_pss - RSA signature using non-deterministic encoding

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

pkcs1-0.9.7.tar.gz (392.8 kB view details)

Uploaded Source

Built Distribution

pkcs1-0.9.7-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file pkcs1-0.9.7.tar.gz.

File metadata

  • Download URL: pkcs1-0.9.7.tar.gz
  • Upload date:
  • Size: 392.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pkcs1-0.9.7.tar.gz
Algorithm Hash digest
SHA256 699b2fe93ff7dc8893d45f0074a4e9f3a871395c1f12bea842dcce626621ce82
MD5 daaf74feca821e59d9101b0ea917899a
BLAKE2b-256 8ce96759c8ba5f53a6c97d1865df07c30d98864a8f8b4f2e19074f76bb93536e

See more details on using hashes here.

File details

Details for the file pkcs1-0.9.7-py3-none-any.whl.

File metadata

  • Download URL: pkcs1-0.9.7-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pkcs1-0.9.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c943abd62f36ff565a6fe1c9e4df6155c0345aed0efb3ca8d62960457c5ea117
MD5 72bca956bf8e69156b36682cb5a2ce70
BLAKE2b-256 3857326d7532c2c18feee754d6dbf032b23352ea854e63b610dd5148d7cc7ca2

See more details on using hashes here.

Supported by

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