Full implementation of RSA encryption/decryption with cryptographic attacks including weak key detection, broadcast attacks using Chinese Remainder Theorem, and parity oracle exploits.
Type any message and watch it round-trip through textbook RSA: byte-by-byte encryption with a public key, decryption with the private key, all computed as native JavaScript BigInt math right in your browser.
Each byte of your message is treated as an integer m, encrypted with the public key as c = m^e mod n, then decrypted with the private key as m = c^d mod n. All computation runs as JavaScript BigInt math in your browser — no server round-trip.
A comprehensive cryptography project implementing RSA and Vigenere cipher algorithms with various cryptographic attacks. The project demonstrates deep understanding of public-key cryptography, including key generation, encryption/decryption, and multiple attack vectors using advanced mathematical techniques like the Chinese Remainder Theorem and modular arithmetic.
Handling arbitrary-precision arithmetic for 2048+ bit RSA operations, implementing mathematically complex attacks on cryptographic systems, and managing precision issues with Python's Decimal module for extremely large numbers.
Achieved 100% on the project. A textbook-RSA version is live on this page as an in-browser sandbox: type any message and watch it round-trip through encryption and decryption as native JavaScript BigInt math, fully client-side.
© 2026 Maxwell Vaglica. All rights reserved.