summaryrefslogtreecommitdiffstats
path: root/lib/xor.go
Commit message (Collapse)AuthorAgeFilesLines
* lib: add FixedXORBytesrsiddharth2020-09-061-0/+12
| | | | * lib/xor.go (FixedXORBytes): New function.
* challenge: do challenge 5rsiddharth2020-08-301-0/+30
| | | | | | | * 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.
* lib/xor.go: FixedXOR: add doc string.rsiddharth2020-08-291-0/+1
|
* rename package enc -> hexrsiddharth2020-08-291-0/+22
* 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