summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* challenge: do challenge 3rsiddharth2020-08-295-0/+119
| | | | | | | | * 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.
* lib/xor.go: FixedXOR: add doc string.rsiddharth2020-08-291-0/+1
|
* Makefile: fmt: remove -x switchrsiddharth2020-08-291-1/+1
|
* add README.mdrsiddharth2020-08-291-0/+22
|
* rename package enc -> hexrsiddharth2020-08-296-8/+8
| | | | | | | | | * 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/c02.go: add license headerrsiddharth2020-08-291-0/+3
|
* challenge: do challenge 2rsiddharth2020-08-294-0/+45
| | | | | | | * 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.
* challenge/c1.go -> challenge/c01.gorsiddharth2020-08-291-0/+0
|
* .gitignore: remove bin; add cryptopalsrsiddharth2020-08-291-1/+1
|
* cryptopals.go: add license blockrsiddharth2020-08-291-0/+3
|
* Makefile: add cleanrsiddharth2020-08-291-0/+4
|
* Makefile: remove binrsiddharth2020-08-291-2/+0
|
* Makefile: fmt: add challenge packagersiddharth2020-08-291-1/+1
|
* Makefile: update buildrsiddharth2020-08-291-2/+2
|
* add cryptopals.gorsiddharth2020-08-291-0/+21
|
* c1.go -> challenge/c1.gorsiddharth2020-08-291-2/+2
|
* 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-263-0/+20
|
* c1.go: Challenge 1rsiddharth2020-08-261-0/+13
|
* Add Makefilersiddharth2020-08-261-0/+10
|
* Add .gitignorersiddharth2020-08-261-0/+1
|
* enc/b64.go: flesh it outrsiddharth2020-08-261-0/+31
|
* initial commitrsiddharth2020-08-222-0/+3