summaryrefslogtreecommitdiffstats
path: root/challenge/c16.go
Commit message (Collapse)AuthorAgeFilesLines
* update name in copyrightsiddharth ravikumar2022-05-231-1/+1
| | | | Use full name.
* copyright: rsiddharth -> siddharthsiddharth2021-11-201-1/+1
|
* challenge/c16.go: use lib.RandomBytes to generate keyrsiddharth2021-02-271-3/+1
|
* challenge/c16.go: refactorrsiddharth2021-02-241-69/+58
| | | | Keep everything inside C16
* 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