summaryrefslogtreecommitdiffstats
path: root/cryptopals.go
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-10-16 23:03:48 -0400
committersiddharth <s@ricketyspace.net>2021-10-16 23:03:48 -0400
commitee2a527ec332ced4eee237b9f752519ce0a92c4d (patch)
treea4d4f1f475d8642214831f892cccba6b40ea9cd7 /cryptopals.go
parentce05e028144b790d2b52379237a4eda9407a968c (diff)
challenge: do challenge 31
Diffstat (limited to 'cryptopals.go')
-rw-r--r--cryptopals.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cryptopals.go b/cryptopals.go
index d860f01..978d68e 100644
--- a/cryptopals.go
+++ b/cryptopals.go
@@ -10,6 +10,7 @@ import (
)
var c = flag.Int("c", 0, "Challenge to run")
+var s = flag.Bool("s", false, "Start HTTP server for a challenge")
func init() {
flag.Parse()
@@ -79,5 +80,7 @@ func main() {
challenge.C29()
case 30:
challenge.C30()
+ case 31:
+ challenge.C31(*s)
}
}