Cryptography II

RSA exploits, public key algorithms, hashing, Diffie-Hellman, and AES

Prerequisites: Familiarity with the basics of Cryptography and RSA. Refer here. Focus: RSA exploits, public key algorithms, hashing, Diffie-Hellman, and AES.


1. Hashing

Hashes are the backbone of how passwords are stored in databases - not as plaintext, but as fixed-length digests that cannot be reversed.

Key properties of hash functions:

  • One-way - you cannot derive the original input from the hash
  • Collision-resistant - two different inputs should not produce the same hash
  • Deterministic - same input always yields the same output

Resources


2. Real-World RSA Exploits

RSA, while foundational, has several well-documented vulnerabilities that are actively exploited in CTFs and real-world scenarios.

Resources


3. Diffie-Hellman Key Exchange

Diffie-Hellman is a foundational protocol that allows two parties to establish a shared secret over a public channel - without ever transmitting the secret itself.

Resources


4. AES (Advanced Encryption Standard)

AES is the gold standard for symmetric encryption, widely used in TLS, file encryption, and beyond.

Resources


Recruitment Note

For recruitment, it is strongly preferred that you complete the CryptoHack Public-Key Cryptography module at minimum.