mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2024-12-24 21:45:25 +00:00
2.7 KiB
2.7 KiB
A Few Cryptographic Challenges
Welcome to the fascinating world of cryptography! Cryptography is more than just codes and ciphers; it's the backbone of secure communication. I created a series of challenges that are designed to engage you in hands-on practice, enhance your understanding, and ignite your curiosity in cryptography (even with sample code snipets). In this series of challenges, you will have the opportunity to explore different aspects of cryptography, from historical ciphers to modern cryptographic algorithms.
What You Will Learn:
- Classical Cryptography: Uncover the secrets of historical ciphers like the Vigenère and Substitution Ciphers.
- Public Key Cryptography: Dive into modern cryptosystems like RSA and Elliptic Curve Cryptography.
- Cryptographic Attacks: Understand the importance of strong parameters and how weak implementations can be exploited.
- Key Exchange Protocols: Explore how keys are securely exchanged between parties, including the renowned Diffie-Hellman key exchange.
Challenges Overview:
- Beginner Level: For those new to cryptography, start with frequency analysis and simple decryption techniques.
- Intermediate Level: Ready for more? Delve into key exchanges, elliptic curves, and the foundations of modern cryptography.
- Advanced Level: For the brave and curious, explore cryptographic weaknesses and learn how to forge digital signatures (in a controlled, ethical manner).
The following are the challenges included here.
- Classic Caesar Cipher: Understand and decrypt a message encrypted with the Caesar cipher.
- Diffie-Hellman Key Exchange: Simulate the Diffie-Hellman key exchange algorithm.
- Digital Signature Forgery (Basic): Forge a digital signature for a given message.
- Classic Vigenère Cipher: Decrypt a Vigenère cipher using a known keyword.
- Implement Diffie-Hellman Key Exchange (Intermediate): Compute and validate public keys using Diffie-Hellman.
- Digital Signature Forgery (Advanced): Forge a digital signature exploiting RSA weaknesses.
- Frequency Analysis Attack on Substitution Cipher: Decrypt a substitution cipher using frequency analysis.
- Elliptic Curve Key Pair Generation: Generate and validate an elliptic curve key pair.
- Attack on Weak RSA Modulus: Determine the private key of an RSA system with weak parameters.