/cryptopals

Cryptopals cryptography challenges in Go.

Primary LanguageGo

Cryptopals

This repository has my cryptopals solutions, which are a set of cryptography-related programming challenges. Each challenge is run as a test, stored under sets/setN/chalM_test.go for some set N and challenge M. The rest of the codes are stored under pkg and internal.

To run a specific set:

# N for set number
go test ./sets/setN

# e.g. running set 1 with verbose flag
go test ./sets/set1 -v

To run a specific challenge, similarly:

go test ./sets/setN/chalM_test.go -v

TODO

  • Add internal/testing utilities that prints expected / received kind of errors.

Challenges