summaryrefslogtreecommitdiffstats
path: root/enc
Commit message (Collapse)AuthorAgeFilesLines
* rename package enc -> hexrsiddharth2020-08-293-72/+0
| | | | | | | | | * 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
* enc/xor.go: add license headerrsiddharth2020-08-291-0/+3
|
* challenge: do challenge 2rsiddharth2020-08-292-0/+29
| | | | | | | * challenge/c02.go: Challenge 2 snafu. * cryptopals.go: Add challenge 2. * enc/hex.go (DecToHexChar): New function. * enc/xor.go (FixedXOR): New function.
* enc: fromHexChar -> HexCharToDecrsiddharth2020-08-292-15/+19
| | | | | * enc/b64.go (fromHexChar): Move and rename this function to... * enc/hex.go (HexCharToDec): ...this.
* enc: update HexToBase64rsiddharth2020-08-291-1/+3
| | | | Ensure lines are < 80 columns
* enc/b64.go: fromHexChar: update doc stringrsiddharth2020-08-261-1/+1
|
* add LICENSErsiddharth2020-08-261-0/+3
|
* enc/b64.go: flesh it outrsiddharth2020-08-261-0/+31
|
* initial commitrsiddharth2020-08-221-0/+0