summaryrefslogtreecommitdiffstats
path: root/cryptopals.go
diff options
context:
space:
mode:
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)
}
}