diff options
author | rsiddharth <s@ricketyspace.net> | 2020-08-29 20:00:53 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2020-08-29 20:00:53 -0400 |
commit | 3b0fb163cbac08a36b01f186b72e2a9cee4b7a2d (patch) | |
tree | 5c33a9744c675edb87e29e771b90ed2dfc9a2779 /cryptopals.go | |
parent | ed26b39e82cee901c785c13e3d1b669fbb502e14 (diff) |
challenge: do challenge 3
* challenge/c03.go: Implement challenge 3
* cryptopals.go (main): Add handling to run challenge 3
* lib/brute.go (XORCrackSingleKey): New function.
* lib/hex.go (HexStrToAsciiStr, ByteToHexStr): New functions.
* lib/str.go (FillStr): New function.
Diffstat (limited to 'cryptopals.go')
-rw-r--r-- | cryptopals.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cryptopals.go b/cryptopals.go index 37580be..5faa363 100644 --- a/cryptopals.go +++ b/cryptopals.go @@ -22,5 +22,7 @@ func main() { challenge.C1() case 2: challenge.C2() + case 3: + challenge.C3() } } |