Go implementation of the Matasano Crypto Challenges (http://cryptopals.com)
The source in src/matasano
is organized as follows:
bits/
general bit-operationencoding/
base64 and hex encoding and decodingxorbyte/
encrypting and forcibly decrypting message blocks XOR'd by the same byterepeatingxor/
encrypting and forcibly decrypting message blocks XOR'd by a bytestringaes/
encrypting with AES and detecting AESproblems/
matasano-specific problem numbers
Each problem solution is organized into a go testing
function in src/matasano/problems/
. To run all the tests, execute:
$ GOPATH="`pwd`:$GOPATH" go test matasano/problems
To examine the tests for a particular problem, please read the respective src/matasano/problems/NUMBER_test.go
file.