pyRSA is a pure-Python RSA public-key cryptosystem implementation. The current release algorithm generates public and private keys using feeded 1,024 bit prime integers, and can encrypt and decrypt given messages. Half of the public and the complete private key are generated partially from enviromental noise using os-specific functions, while the p, q, λ(n) parameters are currently deterministic and under development.
Image: Carmichael function. A Carmichael prime-variation is used to generate λ(n).
All notable changes to this project will be documented in this file.
The format is based on KAC, and this project adheres to Semantic Versioning.
- Carmichael-variation structure
- Changelog & Getting Started
- Encryption and decryption function
- p, q, λ(n) deterministic implementation
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
The published script comes with a user-friendly example by running main.py.
>> py main.py
This project is licensed under the MIT License - see the LICENSE file for details. pyRSA is under development.