diff options
Diffstat (limited to 'cryptopals.go')
-rw-r--r-- | cryptopals.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cryptopals.go b/cryptopals.go new file mode 100644 index 0000000..7b311c3 --- /dev/null +++ b/cryptopals.go @@ -0,0 +1,21 @@ +package main + +import ( + "flag" + "ricketyspace.net/cryptopals/challenge" +) + +var c = flag.Int("c", 0, "Challenge to run") + +func init() { + flag.Parse() +} + +func main() { + switch *c { + case 0: + flag.PrintDefaults() + case 1: + challenge.C1() + } +} |