| 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.
|
|
|
|
| |
* lib/xor.go (FixedXORBytes): New function.
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
* 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
|