Skip to content

Pure Python RSA implementation with key generation, encryption, and decryption — no external libraries.

Notifications You must be signed in to change notification settings

Fazel-python/rsa-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

🔐 RSA from Scratch in Python

This repository provides a complete and clean implementation of the RSA cryptographic algorithm in pure Python, without using any external libraries.


🧠 Features

  • Full key generation (public/private)
  • Encryption and decryption of text messages
  • Uses the Miller-Rabin primality test
  • 100% pure Python (no dependencies)

📦 How to Use

  1. Clone the repository:
git clone https://github.com/YOUR_USERNAME/rsa-from-scratch.git
cd rsa-from-scratch

About

Pure Python RSA implementation with key generation, encryption, and decryption — no external libraries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages