Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | lib: remove OracleAESRandomEncrypt | rsiddharth | 2021-02-24 | 1 | -1/+33 | |
| | | | | Move function into C11 where it is used. | |||||
* | lib: remove web.go | rsiddharth | 2021-02-24 | 1 | -6/+82 | |
| | | | | Move all its functions to C13 where it is used. | |||||
* | lib: RandomKey -> RandomBytes | rsiddharth | 2021-02-24 | 1 | -2/+2 | |
| | ||||||
* | challenge: ch17.go: don't use lib.OracleKey and lib.OracleIV | rsiddharth | 2021-02-24 | 1 | -3/+10 | |
| | ||||||
* | challenge/c16.go: refactor | rsiddharth | 2021-02-24 | 1 | -69/+58 | |
| | | | | Keep everything inside C16 | |||||
* | challenge/c15.go: gofmt | rsiddharth | 2021-02-24 | 1 | -0/+1 | |
| | ||||||
* | challenge/c14.go: refactor | rsiddharth | 2021-02-24 | 1 | -108/+103 | |
| | | | | Keep everything inside C14 | |||||
* | challenge/c13.go: gofmt | rsiddharth | 2021-02-24 | 1 | -0/+1 | |
| | ||||||
* | challenge/c12.go: refactor | rsiddharth | 2021-02-24 | 2 | -81/+87 | |
| | | | | Keep everything inside C12 | |||||
* | challenge/c11.go: gofmt | rsiddharth | 2021-02-24 | 1 | -0/+1 | |
| | ||||||
* | challenge/c10.go: refactor | rsiddharth | 2021-02-24 | 1 | -22/+12 | |
| | | | | Keep everything inside C10 | |||||
* | challenge/c09.go: gofmt | rsiddharth | 2021-02-24 | 1 | -0/+1 | |
| | ||||||
* | challenge/c08.go: refactor | rsiddharth | 2021-02-24 | 1 | -210/+210 | |
| | | | | Keep everything inside C8 | |||||
* | challenge/c07.go: refactor | rsiddharth | 2021-02-24 | 1 | -6/+6 | |
| | | | | Keep everything inside C7 | |||||
* | challenge/c06.go: refactor | rsiddharth | 2021-02-24 | 1 | -98/+96 | |
| | | | | Keep everything inside C6 | |||||
* | challenge/c05.go: refactor | rsiddharth | 2021-02-24 | 2 | -7/+5 | |
| | | | | Keep everything inside C5 | |||||
* | challenge/c04.go: refactor | rsiddharth | 2021-02-24 | 1 | -35/+32 | |
| | | | | Keep everything inside C4 | |||||
* | challenge/c03.go: gofmt | rsiddharth | 2021-02-24 | 1 | -0/+1 | |
| | ||||||
* | 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 | 1 | -0/+184 | |
| | ||||||
* | lib: update Pkcs7PaddingUndo, AESDecryptCBC | rsiddharth | 2021-02-11 | 3 | -12/+22 | |
| | | | | | Add error as the second return value to Pkcs7PaddingUndo and AESDecryptCBC. | |||||
* | 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 | 1 | -0/+120 | |
| | ||||||
* | challenge: update C15 | rsiddharth | 2021-01-26 | 1 | -2/+2 | |
| | ||||||
* | challenge: do challenge 15 | rsiddharth | 2021-01-26 | 1 | -0/+40 | |
| | ||||||
* | 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 | 1 | -0/+128 | |
| | ||||||
* | challenge: fix findUnknownStringCharacteristics | rsiddharth | 2021-01-19 | 1 | -1/+1 | |
| | ||||||
* | 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 | |
| |