Skip to main content

Python implementation of the RFC3447 or PKCS #1 version 2.0

Project description

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 - basic RSA exponentation, integer<->byte string conversion

  • 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.3.tar.gz (390.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pkcs1-0.9.3.tar.gz
  • Upload date:
  • Size: 390.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pkcs1-0.9.3.tar.gz
Algorithm Hash digest
SHA256 86f8d6adab6b7b4aaf12011360002434102270b6e22021f3d419ec87bdfd870a
MD5 fd9cd1a2761a975f02aad412879bcae9
BLAKE2b-256 12264a9c787621a42145347246fb144173881aed17979b1317051b0833c75fe5

See more details on using hashes here.

Supported by

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