Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | challenge/c02.go: gofmt | rsiddharth | 2021-02-24 | 1 | -0/+1 | |
| | ||||||
* | challenge/c01.go: gofmt | rsiddharth | 2021-02-24 | 1 | -0/+1 | |
| | ||||||
* | challenge/c17.go: update output | rsiddharth | 2021-02-21 | 1 | -0/+1 | |
| | ||||||
* | challenge: do challenge 17 | rsiddharth | 2021-02-21 | 2 | -0/+187 | |
| | ||||||
* | lib: add OracleIV | rsiddharth | 2021-02-21 | 1 | -0/+6 | |
| | ||||||
* | lib: update Pkcs7PaddingUndo, AESDecryptCBC | rsiddharth | 2021-02-11 | 5 | -19/+29 | |
| | | | | | Add error as the second return value to Pkcs7PaddingUndo and AESDecryptCBC. | |||||
* | lib: add CPError | rsiddharth | 2021-02-11 | 1 | -0/+11 | |
| | ||||||
* | lib: oracleKey -> OracleKey | rsiddharth | 2021-02-11 | 1 | -4/+4 | |
| | ||||||
* | lib: randomInt -> RandomInt | rsiddharth | 2021-02-11 | 1 | -4/+4 | |
| | ||||||
* | README.md: update status | rsiddharth | 2021-02-01 | 1 | -1/+1 | |
| | ||||||
* | challenge: update ch16 | rsiddharth | 2021-02-01 | 1 | -32/+16 | |
| | | | | | | | - Don't use AESDecryptCBC directly for the bitflap attack. - Use just function 1 (cbcBitFlipEncrypt) and 2 (cbcBitFlipDecryptHasAdmin) to modify the cipher to produce the needed ';admin=true;' in the de-ciphered text. | |||||
* | challenge: do challenge 16 | rsiddharth | 2021-01-30 | 2 | -0/+122 | |
| | ||||||
* | lib: add StrHas | rsiddharth | 2021-01-30 | 1 | -0/+10 | |
| | ||||||
* | lib: update StripSpaceChars | rsiddharth | 2021-01-30 | 1 | -0/+3 | |
| | | | | strip 'NUL' character too. | |||||
* | lib: stripSpaceChars -> StripSpaceChars | rsiddharth | 2021-01-30 | 3 | -3/+3 | |
| | ||||||
* | lib: add StrToUpper | rsiddharth | 2021-01-27 | 1 | -0/+12 | |
| | ||||||
* | challenge: update C15 | rsiddharth | 2021-01-26 | 1 | -2/+2 | |
| | ||||||
* | challenge: do challenge 15 | rsiddharth | 2021-01-26 | 2 | -0/+42 | |
| | ||||||
* | lib: update Pkcs7PaddingUndo | rsiddharth | 2021-01-26 | 1 | -1/+10 | |
| | | | | Add validation. | |||||
* | challenge: add output for challenge 14 | rsiddharth | 2021-01-25 | 1 | -0/+7 | |
| | ||||||
* | challenge: freshSheepBlock -> freshSheepBytes | rsiddharth | 2021-01-25 | 2 | -8/+8 | |
| | ||||||
* | challenge: do challenge 14 | rsiddharth | 2021-01-25 | 3 | -1/+131 | |
| | ||||||
* | challenge: fix findUnknownStringCharacteristics | rsiddharth | 2021-01-19 | 1 | -1/+1 | |
| | ||||||
* | lib: add HasConsecutiveMatchingBlocks | rsiddharth | 2021-01-12 | 1 | -0/+14 | |
| | ||||||
* | lib: add OracleAESVarEncryptECB | rsiddharth | 2021-01-12 | 1 | -0/+6 | |
| | | | | For challenge 14. This will be used as the `AES-128-ECB` function. | |||||
* | lib: add oracleRandom | rsiddharth | 2021-01-12 | 1 | -0/+6 | |
| | | | | For challenge 14. This will be used as the `random-prefix`. | |||||
* | lib: update randomBytes | rsiddharth | 2021-01-12 | 1 | -14/+2 | |
| | | | | Use randomInt to get the random byte array length. | |||||
* | lib: add randomInt | rsiddharth | 2021-01-12 | 1 | -0/+19 | |
| | ||||||
* | lib/web: update import statment | rsiddharth | 2020-12-21 | 1 | -3/+1 | |
| | ||||||
* | challenge/ch13.go -> challenge/c13.go | rsiddharth | 2020-12-21 | 1 | -0/+0 | |
| | ||||||
* | do challenge 13 | rsiddharth | 2020-12-21 | 2 | -0/+32 | |
| | ||||||
* | lib: add web.go | rsiddharth | 2020-12-20 | 1 | -0/+96 | |
| | | | | For challenge 13. | |||||
* | lib/str: add StrSplitAt | rsiddharth | 2020-12-20 | 1 | -0/+17 | |
| | ||||||
* | lib/str: add NumToStr | rsiddharth | 2020-12-20 | 1 | -0/+9 | |
| | ||||||
* | lib/str: add NumToChar | rsiddharth | 2020-12-20 | 1 | -0/+8 | |
| | ||||||
* | update README.md | rsiddharth | 2020-12-13 | 1 | -2/+0 | |
| | ||||||
* | challenge: do challenge 12 | rsiddharth | 2020-12-13 | 2 | -0/+123 | |
| | ||||||
* | lib/aes: add OracleAESEncryptECB | rsiddharth | 2020-12-13 | 1 | -0/+18 | |
| | ||||||
* | lib/blocks: rename CipherIsECB -> CipherUsesECB | rsiddharth | 2020-12-12 | 3 | -3/+3 | |
| | ||||||
* | do challenge 11 | rsiddharth | 2020-12-10 | 2 | -0/+39 | |
| | ||||||
* | lib/blocks: BlockIsECB -> CipherIsECB | rsiddharth | 2020-12-09 | 2 | -2/+2 | |
| | ||||||
* | lib/oracle.go: add OracleAESRandomEncrypt | rsiddharth | 2020-12-09 | 1 | -0/+68 | |
| | ||||||
* | lib/aes: update AESEncryptCBC | rsiddharth | 2020-12-09 | 2 | -11/+14 | |
| | | | | Add padding | |||||
* | lib/aes: update AESEncryptECB | rsiddharth | 2020-12-09 | 1 | -0/+7 | |
| | | | | Add padding. | |||||
* | lib/aes: update AESEncrryptECB | rsiddharth | 2020-12-09 | 1 | -3/+3 | |
| | | | | Change argument name `cipher` to `plain`. | |||||
* | lib/blocks: add Pkcs7PaddingUndo | rsiddharth | 2020-12-09 | 1 | -0/+5 | |
| | ||||||
* | lib/blocks: move isECB from ch. 8 in here as BlockIsECB | rsiddharth | 2020-12-08 | 2 | -24/+24 | |
| | ||||||
* | 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 | |
| |