summaryrefslogtreecommitdiffstats
path: root/challenge/c16.go
Commit message (Collapse)AuthorAgeFilesLines
* lib: update Pkcs7PaddingUndo, AESDecryptCBCrsiddharth2021-02-111-1/+1
| | | | | Add error as the second return value to Pkcs7PaddingUndo and AESDecryptCBC.
* challenge: update ch16rsiddharth2021-02-011-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 16rsiddharth2021-01-301-0/+120