This repository contains the solutions for the Cryptopals crypto challenges. Each package contains the solutions to one set of challenges. You can look through the commits to see the incremental solutions to each challenge.
I have written write-ups for the challenges I found the most interesting on my blog, check them out !
New challenges might requires the solutions you built previously.
For instance the solution for the fourth challenge of Set 1 might rely on the code written for the challenge 2 and 3.
The file cryptopals.go
contains the solutions to each challenge, based on the code written in each package.
To run the solution build the program and call it with the challenge number cryptopals <challenge_number>
go build
./cryptopals 4
or
go run cryptopals 4