/matasano-cryptopals-solutions

My solutions to Matasano Cryptopals challenge.

Primary LanguageJava

Cryptopals is a collection of 48 exercises that demonstrate attacks on real world ciphers and protocols. Exercises exploit both badly designed systems and subtle implementation bugs in theoretically rock solid crypto. The exercises and official solutions are now publically available on their official site, my write up about doing them is on my blog.

This repository contains my solutions to those exercises. All solutions are stored inside the org.meri.matasano package in classes named SetX where X is the exercises set number. Some of the exercises required explanation or description, I wrote them inside javadoc comments in solution class. Solutions are run from unit tests. Each set of exercises has its own setX directory and unit test named SetXTest.

Links to solutions as they were when I finished them.

Set 1:

Set 2:

Set 3:

Set 4:

Set 5:

Set 6: