Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | challenge/ch13.go -> challenge/c13.go | rsiddharth | 2020-12-21 | 1 | -0/+0 |
| | |||||
* | do challenge 13 | rsiddharth | 2020-12-21 | 1 | -0/+30 |
| | |||||
* | challenge: do challenge 12 | rsiddharth | 2020-12-13 | 1 | -0/+121 |
| | |||||
* | lib/blocks: rename CipherIsECB -> CipherUsesECB | rsiddharth | 2020-12-12 | 2 | -2/+2 |
| | |||||
* | do challenge 11 | rsiddharth | 2020-12-10 | 1 | -0/+37 |
| | |||||
* | lib/blocks: BlockIsECB -> CipherIsECB | rsiddharth | 2020-12-09 | 1 | -1/+1 |
| | |||||
* | lib/aes: update AESEncryptCBC | rsiddharth | 2020-12-09 | 1 | -11/+7 |
| | | | | Add padding | ||||
* | lib/blocks: move isECB from ch. 8 in here as BlockIsECB | rsiddharth | 2020-12-08 | 1 | -24/+1 |
| | |||||
* | challenge: fix typo in challenge 08 | rsiddharth | 2020-12-06 | 1 | -2/+2 |
| | |||||
* | challenge: fix challenge 08 | rsiddharth | 2020-12-06 | 1 | -4/+4 |
| | |||||
* | challenge: complete challenge 10 | rsiddharth | 2020-12-06 | 1 | -4/+24 |
| | |||||
* | lib/aes: AESDecrypt -> AESDecryptECB | rsiddharth | 2020-12-05 | 1 | -1/+1 |
| | |||||
* | challenge: c10: specify data type for NIST SP 800-38A vars | rsiddharth | 2020-12-05 | 1 | -3/+3 |
| | |||||
* | challenge: c10: cosmetic edit to cryptopals 10 test | rsiddharth | 2020-12-05 | 1 | -8/+4 |
| | |||||
* | challenge: c10: cosmetic edit to NIST SP 800-38A test | rsiddharth | 2020-12-05 | 1 | -12/+13 |
| | |||||
* | challenge: ch10: add NIST SP 800-38A F.2.2 decryption test | rsiddharth | 2020-12-05 | 1 | -83/+97 |
| | |||||
* | challenge: do some of challenge 10 | rsiddharth | 2020-12-05 | 1 | -0/+175 |
| | |||||
* | challenge/09: change block size to 20 | rsiddharth | 2020-11-28 | 1 | -3/+2 |
| | |||||
* | challenge/09: add output | rsiddharth | 2020-11-28 | 1 | -0/+6 |
| | |||||
* | challenge: do challenge 09 | rsiddharth | 2020-11-28 | 1 | -0/+15 |
| | |||||
* | challenge: c07: update output | rsiddharth | 2020-11-25 | 1 | -1/+1 |
| | |||||
* | challenge: c06: add output | rsiddharth | 2020-11-25 | 1 | -48/+133 |
| | |||||
* | challenge: c05: add output | rsiddharth | 2020-11-25 | 1 | -0/+5 |
| | |||||
* | challenge: c04: add output | rsiddharth | 2020-11-25 | 1 | -28/+35 |
| | | | | And move C4 function to the top. | ||||
* | challenge: c03: add output | rsiddharth | 2020-11-25 | 1 | -0/+5 |
| | |||||
* | challenge: c02: add output | rsiddharth | 2020-11-25 | 1 | -0/+4 |
| | |||||
* | challenge: c01: add output | rsiddharth | 2020-11-25 | 1 | -0/+4 |
| | |||||
* | challenge: c08: add output | rsiddharth | 2020-11-25 | 1 | -0/+5 |
| | |||||
* | challenge: c08: update C8 | rsiddharth | 2020-11-25 | 1 | -5/+9 |
| | | | | Show the 16-byte block that occurs more than once in the cipher text. | ||||
* | challenge: do challenge 08 | rsiddharth | 2020-11-25 | 1 | -0/+249 |
| | |||||
* | challenge: do challenge 7 | rsiddharth | 2020-11-22 | 1 | -0/+166 |
| | |||||
* | challenge: do challenge 6 | rsiddharth | 2020-09-06 | 1 | -0/+122 |
| | | | | * challenge/c06.go: Implement challenge 6. | ||||
* | lib: BytesToHexStr -> AsciiStrToHexStr | rsiddharth | 2020-08-31 | 1 | -1/+1 |
| | | | | | | * challenge/c05.go (C5): Change BytesToHexStr call to AsciiStrToHexStr * lib/hex.go (BytesToHexStr): Rename to... (AsciiStrToHexStr): ...this. Change argument to string. | ||||
* | challenge: do challenge 5 | rsiddharth | 2020-08-30 | 1 | -0/+21 |
| | | | | | | | * 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 |
| | |||||
* | challenge: do challenge 4 | rsiddharth | 2020-08-30 | 1 | -0/+363 |
| | | | | | * challenge/c04.go: Implement challenge 4. * cryptopals.go (main): Add handling to run challenge 4. | ||||
* | challenge: do challenge 3 | rsiddharth | 2020-08-29 | 1 | -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 -> hex | rsiddharth | 2020-08-29 | 2 | -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 header | rsiddharth | 2020-08-29 | 1 | -0/+3 |
| | |||||
* | challenge: do challenge 2 | rsiddharth | 2020-08-29 | 1 | -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.go | rsiddharth | 2020-08-29 | 1 | -0/+0 |
| | |||||
* | c1.go -> challenge/c1.go | rsiddharth | 2020-08-29 | 1 | -0/+16 |