Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib: update HexToBase64 | rsiddharth | 2020-08-30 | 1 | -1/+1 |
| | | | | | * lib/b64.go (HexToBase64): Use hex instead of base 2 for the second AND to get the last 6 bits. | ||||
* | challenge: do challenge 5 | rsiddharth | 2020-08-30 | 4 | -0/+65 |
| | | | | | | | * 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. | ||||
* | challenge/c04.go: add license | rsiddharth | 2020-08-30 | 1 | -0/+3 |
| | |||||
* | README.md: update main blurb | rsiddharth | 2020-08-30 | 1 | -2/+3 |
| | |||||
* | challenge: do challenge 4 | rsiddharth | 2020-08-30 | 2 | -0/+365 |
| | | | | | * challenge/c04.go: Implement challenge 4. * cryptopals.go (main): Add handling to run challenge 4. | ||||
* | README.md: . -> , in main blurb | rsiddharth | 2020-08-29 | 1 | -1/+1 |
| | |||||
* | challenge: do challenge 3 | rsiddharth | 2020-08-29 | 5 | -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. | rsiddharth | 2020-08-29 | 1 | -0/+1 |
| | |||||
* | Makefile: fmt: remove -x switch | rsiddharth | 2020-08-29 | 1 | -1/+1 |
| | |||||
* | add README.md | rsiddharth | 2020-08-29 | 1 | -0/+22 |
| | |||||
* | rename package enc -> hex | rsiddharth | 2020-08-29 | 6 | -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 header | rsiddharth | 2020-08-29 | 1 | -0/+3 |
| | |||||
* | challenge/c02.go: add license header | rsiddharth | 2020-08-29 | 1 | -0/+3 |
| | |||||
* | challenge: do challenge 2 | rsiddharth | 2020-08-29 | 4 | -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 -> HexCharToDec | rsiddharth | 2020-08-29 | 2 | -15/+19 |
| | | | | | * enc/b64.go (fromHexChar): Move and rename this function to... * enc/hex.go (HexCharToDec): ...this. | ||||
* | challenge/c1.go -> challenge/c01.go | rsiddharth | 2020-08-29 | 1 | -0/+0 |
| | |||||
* | .gitignore: remove bin; add cryptopals | rsiddharth | 2020-08-29 | 1 | -1/+1 |
| | |||||
* | cryptopals.go: add license block | rsiddharth | 2020-08-29 | 1 | -0/+3 |
| | |||||
* | Makefile: add clean | rsiddharth | 2020-08-29 | 1 | -0/+4 |
| | |||||
* | Makefile: remove bin | rsiddharth | 2020-08-29 | 1 | -2/+0 |
| | |||||
* | Makefile: fmt: add challenge package | rsiddharth | 2020-08-29 | 1 | -1/+1 |
| | |||||
* | Makefile: update build | rsiddharth | 2020-08-29 | 1 | -2/+2 |
| | |||||
* | add cryptopals.go | rsiddharth | 2020-08-29 | 1 | -0/+21 |
| | |||||
* | c1.go -> challenge/c1.go | rsiddharth | 2020-08-29 | 1 | -2/+2 |
| | |||||
* | enc: update HexToBase64 | rsiddharth | 2020-08-29 | 1 | -1/+3 |
| | | | | Ensure lines are < 80 columns | ||||
* | enc/b64.go: fromHexChar: update doc string | rsiddharth | 2020-08-26 | 1 | -1/+1 |
| | |||||
* | add LICENSE | rsiddharth | 2020-08-26 | 3 | -0/+20 |
| | |||||
* | c1.go: Challenge 1 | rsiddharth | 2020-08-26 | 1 | -0/+13 |
| | |||||
* | Add Makefile | rsiddharth | 2020-08-26 | 1 | -0/+10 |
| | |||||
* | Add .gitignore | rsiddharth | 2020-08-26 | 1 | -0/+1 |
| | |||||
* | enc/b64.go: flesh it out | rsiddharth | 2020-08-26 | 1 | -0/+31 |
| | |||||
* | initial commit | rsiddharth | 2020-08-22 | 2 | -0/+3 |