Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib/hex: add HexStrToBytes | rsiddharth | 2020-12-05 | 1 | -0/+19 |
| | |||||
* | 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 | 2 | -0/+177 |
| | |||||
* | lib/aes.go: add AESDecryptCBC | rsiddharth | 2020-12-05 | 1 | -0/+16 |
| | |||||
* | 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 | 2 | -0/+17 |
| | |||||
* | lib: blocks: add Pkcs7Padding | rsiddharth | 2020-11-28 | 1 | -0/+13 |
| | |||||
* | README.md: update status | rsiddharth | 2020-11-25 | 1 | -0/+2 |
| | |||||
* | 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 | 2 | -0/+251 |
| | |||||
* | lib: blocks: add BlocksEqual | rsiddharth | 2020-11-25 | 1 | -0/+13 |
| | |||||
* | lib: aes: fix AESDecrypt | rsiddharth | 2020-11-23 | 1 | -1/+1 |
| | |||||
* | cryptopals.go: add challange 7 | rsiddharth | 2020-11-22 | 1 | -0/+2 |
| | |||||
* | update README.md | rsiddharth | 2020-11-22 | 1 | -2/+0 |
| | |||||
* | challenge: do challenge 7 | rsiddharth | 2020-11-22 | 1 | -0/+166 |
| | |||||
* | lib: aes: add 'aes' prefix to AES related functions | rsiddharth | 2020-11-22 | 1 | -21/+21 |
| | |||||
* | lib: str: add BytesToStr | rsiddharth | 2020-11-22 | 1 | -0/+8 |
| | |||||
* | lib: str: add StrToBytes | rsiddharth | 2020-11-22 | 1 | -0/+8 |
| | |||||
* | lib: aes: add AESDecrypt | rsiddharth | 2020-11-22 | 1 | -0/+13 |
| | |||||
* | lib: aes: add AESInvCipher | rsiddharth | 2020-11-22 | 1 | -0/+34 |
| | |||||
* | lib: aes: add InvMixColumns | rsiddharth | 2020-11-22 | 1 | -0/+19 |
| | |||||
* | lib: gf: fix GFMultiply | rsiddharth | 2020-11-22 | 1 | -2/+2 |
| | | | | | The logXPlusOneOf[a] + logXPlusOneOf[b] addition can go over 255, so make it a uint16 addition. | ||||
* | lib: aes: add InvSubBytes | rsiddharth | 2020-11-21 | 1 | -0/+33 |
| | |||||
* | lib: aes: add InvShiftRows | rsiddharth | 2020-11-21 | 1 | -0/+13 |
| | |||||
* | README.md: fix typo | rsiddharth | 2020-11-17 | 1 | -1/+1 |
| | |||||
* | lib: aes: add AddRoundKey | rsiddharth | 2020-11-17 | 1 | -0/+24 |
| | |||||
* | lib: update MkState docstring | rsiddharth | 2020-11-17 | 1 | -1/+1 |
| | |||||
* | lib: add MkState | rsiddharth | 2020-11-16 | 1 | -0/+17 |
| | |||||
* | lib/aes.go: fix KeyExpansion docstring | rsiddharth | 2020-11-16 | 1 | -1/+1 |
| | |||||
* | README.md: add current status | rsiddharth | 2020-11-14 | 1 | -0/+2 |
| | |||||
* | lib/aes.go: add KeyExpansion | rsiddharth | 2020-11-14 | 1 | -0/+97 |
| | | | | Written while listening to Neil Young's Decade. | ||||
* | lib: add BytesToHexStr | rsiddharth | 2020-11-14 | 1 | -0/+9 |
| | |||||
* | lib: add GFMultiply | rsiddharth | 2020-11-08 | 1 | -0/+128 |
| | |||||
* | Makefile: 'build' and 'fmt' are phony | rsiddharth | 2020-11-08 | 1 | -0/+2 |
| | |||||
* | update main | rsiddharth | 2020-09-06 | 1 | -0/+2 |
| | | | | * cryptopals.go (main): Add handling to run challenge 6. | ||||
* | challenge: do challenge 6 | rsiddharth | 2020-09-06 | 1 | -0/+122 |
| | | | | * challenge/c06.go: Implement challenge 6. | ||||
* | lib: AlphaScore -> AlphaPunchScore | rsiddharth | 2020-09-06 | 1 | -1/+1 |
| | | | | | * lib/str.go (AlphaScore): Rename to... (AlphaPunchScore): ...this. | ||||
* | lib: isAlpha -> isAlphaPunch | rsiddharth | 2020-09-06 | 1 | -2/+3 |
| | | | | | | * lib/str.go (isAlpha): Rename to... (isAlphaPunch): ...this. (AlphaScore): change isAlpha call to isAlphaPunch call. | ||||
* | lib: remove genKey | rsiddharth | 2020-09-06 | 1 | -14/+0 |
| | | | | * lib/hamming.go (genKey): Remove function. | ||||
* | lib: update KeySizeWithMinDistance | rsiddharth | 2020-09-06 | 1 | -3/+3 |
| | | | | | | * lib/hamming.go (KeySizeWithMinDistance): Add argument 'bs'. Use first K bytes and next K bytes of 'bs' for 'p' and 'q'. | ||||
* | lib: remove KeySizeWithMinDistanceIter | rsiddharth | 2020-09-06 | 1 | -15/+0 |
| |