Skip to content

An interactive playground that demonstrates encryption and decryption using RSA (Rivest–Shamir–Adleman) Algorithm, all the way from prime generation to ciphertext decryption.

Notifications You must be signed in to change notification settings

itzshubhamdev/cryptographic-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 31, 2025
4873f37 · · Dec 31, 2025

History

5 Commits
Dec 26, 2025
Dec 29, 2025
Dec 26, 2025
Dec 31, 2025
Dec 26, 2025
Dec 26, 2025
Dec 29, 2025
Dec 29, 2025
Dec 26, 2025
Dec 26, 2025
Dec 26, 2025
Dec 26, 2025

Repository files navigation

Cryptographic Playground

An interactive playground that demonstrates encryption and decryption using RSA (Rivest–Shamir–Adleman) Algorithm, all the way from prime generation to ciphertext decryption.

1. Prime Generation

Miller-Rabin primality test is used to generate large prime numbers efficiently.

2. Key Generation

Extended Euclidean Algorithm is used for the generation of public and private keys.

3. Encryption & Decryptiontion

BigInt modular exponentiation is to encrypt as well as decrypt the messages.

Tech Stack

  • Framework: React + Vite
  • Styling: Tailwind CSS
  • Icons: Lucide Icons
  • Notifications: React-Toastify

Installation

git clone https://github.com/itzshubhamdev/cryptographic-playground

cd cryptographic-playground
npm install
npm run devev

About

An interactive playground that demonstrates encryption and decryption using RSA (Rivest–Shamir–Adleman) Algorithm, all the way from prime generation to ciphertext decryption.

Resources

Stars

Watchers

Forks