Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

nbcl/pyrsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyRSA

MIT license made-with-python

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).

Changelog

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.

[Unreleased]

[1.0.1] - 2020-09-01

Added

  • Carmichael-variation structure
  • Changelog & Getting Started

[1.0.0] - 2020-08-31

Added

  • Encryption and decryption function
  • p, q, λ(n) deterministic implementation

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Running

The published script comes with a user-friendly example by running main.py.

>> py main.py

License

This project is licensed under the MIT License - see the LICENSE file for details. pyRSA is under development.

About

🏞 pyRSA is a pure-Python RSA Public-Key Cryptosystem implementation for 1024+ bit keys

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages