| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
| |
And move C4 function to the top.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Show the 16-byte block that occurs more than once in the cipher text.
|
| |
|
| |
|
|
|
|
| |
* challenge/c06.go: Implement challenge 6.
|
|
|
|
|
|
| |
* challenge/c05.go (C5): Change BytesToHexStr call to AsciiStrToHexStr
* lib/hex.go (BytesToHexStr): Rename to...
(AsciiStrToHexStr): ...this. Change argument to string.
|
|
|
|
|
|
|
| |
* challenge/c05.go: Implement challenge 5.
* cryptopals.go (main): Add handling to run challenge 5.
* lib/hex.go (BytesToHexStr): New function.
* lib/xor.go (RepeatingXOR): New function.
|
| |
|
|
|
|
|
| |
* challenge/c04.go: Implement challenge 4.
* cryptopals.go (main): Add handling to run challenge 4.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* Makefile (fmt): fmt lib instead of enc
* challenge/c01.go: Use lib instead of enc
* challenge/c02.go: Use lib instead of enc
* enc/b64.go -> lib/b64.go
* enc/hex.go -> lib/hex.go
* enc/xor.go -> lib/xor.go
|
| |
|
|
|
|
|
|
|
| |
* challenge/c02.go: Challenge 2 snafu.
* cryptopals.go: Add challenge 2.
* enc/hex.go (DecToHexChar): New function.
* enc/xor.go (FixedXOR): New function.
|
| |
|
|
|