Cryptopals
More info
- Creator
- Matasano Security
- Released
- 2013
- Type
- Exercise set
- Website
- cryptopals.com
A set of programming exercises in which you break real cryptography instead of reading about why it can be broken.
The challenges were put together by people at the security firm Matasano, Thomas Ptacek and Sean Devlin among them, and were first handed out by email to anyone who asked before going public around 2013. NCC Group bought Matasano in 2014; the challenges kept their own name.
The approach is deliberately hands-on: you write your own hex and base64 code, spot ECB in a pile of ciphertexts, pull off byte-at-a-time decryption, flip bits in CBC, and build a padding oracle from scratch. Later sets move on to Mersenne Twister, RSA and elliptic curves. The point is that attacks stop being abstract once you've watched the plaintext appear one byte at a time — and that you never again suggest "we'll just encrypt it with AES" in a meeting.