| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
- Change input type to []byte.
- Change retur type to []byte.
- Update RepeatingXOR calls in challenge 5 an 6.
|
|
|
|
| |
Keep everything inside C5
|
| |
|
|
|
|
|
|
| |
* 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.
|