KeyCrack is a project that implements cryptographic attack techniques, focusing on the Low Exponent Attack on RSA and other cryptographic vulnerabilities using the Sage mathematical software.
- Implementation of Low Exponent Attack on RSA encryption.
- Usage of the Sage library for cryptographic computations.
- Sample scripts and resources for practical cryptanalysis.
The KeyCracks project covers the following cryptographic attacks and implementations:
- Low Public Exponent Attack on RSA
- Exploits RSA encryption with a small public exponent (
e = 3) to recover plaintext messages. - Involves multiple ciphertexts encrypted with different modulus values but the same exponent.
- Exploits RSA encryption with a small public exponent (
- Common Factor Attack on RSA
- Analyzes public keys with shared prime factors, allowing recovery of private keys through factorization.
- Simplified DES (SDES) Cryptanalysis
- Investigates vulnerabilities in the SDES encryption algorithm by analyzing weaknesses in key scheduling and encryption patterns.
- AES CBC-MAC Padding Attack
- Explores attacks against AES encryption using the CBC-MAC mode and padding vulnerabilities to forge valid ciphertexts.
KeyCrack/
│-- Crypto_Handson/
│-- README.md
│-- crypto_v2.0.pdf # Detailed explanations of cryptographic techniques
│-- low-public-exp-attck.pdf # Research material on Low Exponent Attack
│-- rsa_gen.sage # Sage script for RSA key generation
│-- rsa_gen.sage.py # Python version of the RSA generation script
│-- sec12-final228.pdf # Additional cryptography research document
-
Ensure you have SageMath installed:
sudo apt install sagemath
- SageMath for cryptographic operations
- Python 3 (for script automation)
- Basic understanding of RSA encryption
**Note: ** This is an educational project for cryptographic course
This project is licensed under the MIT License.