blob: 0d0a55724df9c07646dc73424720521f154b7f0b (
plain) (
tree)
|
|
// Copyright © 2020 rsiddharth <s@ricketyspace.net>
// SPDX-License-Identifier: ISC
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()
case 2:
challenge.C2()
case 3:
challenge.C3()
case 4:
challenge.C4()
case 5:
challenge.C5()
}
}
|