summaryrefslogtreecommitdiffstats
path: root/challenge
Commit message (Collapse)AuthorAgeFilesLines
...
* challenge: do challenge 4rsiddharth2020-08-301-0/+363
| | | | | * challenge/c04.go: Implement challenge 4. * cryptopals.go (main): Add handling to run challenge 4.
* challenge: do challenge 3rsiddharth2020-08-291-0/+17
| | | | | | | | * 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.
* rename package enc -> hexrsiddharth2020-08-292-4/+4
| | | | | | | | | * 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: add license headerrsiddharth2020-08-291-0/+3
|
* challenge: do challenge 2rsiddharth2020-08-291-0/+14
| | | | | | | * challenge/c02.go: Challenge 2 snafu. * cryptopals.go: Add challenge 2. * enc/hex.go (DecToHexChar): New function. * enc/xor.go (FixedXOR): New function.
* challenge/c1.go -> challenge/c01.gorsiddharth2020-08-291-0/+0
|
* c1.go -> challenge/c1.gorsiddharth2020-08-291-0/+16