skip to main content
hacking.communityplay in the sandbox.
Cryptography
Beginner

Crypto Primitives & Pitfalls

XOR, hashing, HMAC, symmetric vs asymmetric, AEAD. The 'do not roll your own' rules.

0/4 modules complete · 0%
  1. 1
    Quiz+90 XP

    Crypto 101: Primitives, Pitfalls & Best Practices

    This quiz validates your understanding of fundamental cryptographic concepts, common implementation pitfalls, and when to use specific primitives. You must demonstrate knowledge of XOR operations, hashing, MACs, encryption modes, and the critical 'don't roll your own crypto' principle.

    open quiz
  2. Hands-on Labeasy+25 XP

    Weak XOR Crypto

    A ciphertext is base64-encoded and XOR-encrypted with a single ASCII byte. Recover the plaintext.

    complete the module above first
  3. Hands-on Labeasy+30 XP

    MD5 Collision Drill

    Find two different inputs whose MD5 hashes collide. (Hint: prefix-collision attack is well-known.)

    complete the module above first
  4. Hands-on Labmedium+45 XP

    Hash Length Extension

    A naive MAC = MD5(secret || message) is forgeable via length extension. Forge `admin=true`.

    complete the module above first
Sign in to track your progress.
sign in
// install app

Install hacking.community for fast access, offline reading, and push notifications. No app store needed.