mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2024-12-30 00:05:27 +00:00
27 lines
2.7 KiB
Markdown
27 lines
2.7 KiB
Markdown
# 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:
|
|
1. **Classical Cryptography:** Uncover the secrets of historical ciphers like the Vigenère and Substitution Ciphers.
|
|
2. **Public Key Cryptography:** Dive into modern cryptosystems like RSA and Elliptic Curve Cryptography.
|
|
3. **Cryptographic Attacks:** Understand the importance of strong parameters and how weak implementations can be exploited.
|
|
4. **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.
|
|
1. **[Classic Caesar Cipher](./01_Classic_Caesar_Cipher.md):** Understand and decrypt a message encrypted with the Caesar cipher.
|
|
2. **[Diffie-Hellman Key Exchange](./02_Diffie_Hellman_Key_Exchange.md):** Simulate the Diffie-Hellman key exchange algorithm.
|
|
3. **[Digital Signature Forgery (Basic)](./03_Digital_Signature_Forgery.md):** Forge a digital signature for a given message.
|
|
4. **[Classic Vigenère Cipher](./04_Classic_Vigenere_Cipher.md):** Decrypt a Vigenère cipher using a known keyword.
|
|
5. **[Implement Diffie-Hellman Key Exchange (Intermediate)](./05_Implement_Diffie_Hellman_Key_Exchange.md):** Compute and validate public keys using Diffie-Hellman.
|
|
6. **[Digital Signature Forgery (Advanced)](./06_Digital_Signature_Forgery_Advanced.md):** Forge a digital signature exploiting RSA weaknesses.
|
|
7. **[Frequency Analysis Attack on Substitution Cipher](./07_Frequency_Analysis_Attack_Substitution.md):** Decrypt a substitution cipher using frequency analysis.
|
|
8. **[Elliptic Curve Key Pair Generation](./08_Elliptic_Curve_Key_Pair_Generation.md):** Generate and validate an elliptic curve key pair.
|
|
9. **[Attack on Weak RSA Modulus](./09_Attack_on_Weak_RSA_Modulus.md):** Determine the private key of an RSA system with weak parameters.
|
|
|