summaryrefslogtreecommitdiffstats
path: root/lib/oracle.go
Commit message (Collapse)AuthorAgeFilesLines
* lib: remove oracle.gorsiddharth2021-02-241-36/+0
| | | | Move functions into C12 and C14 where they're used.
* lib: remove OracleAESRandomEncryptrsiddharth2021-02-241-32/+0
| | | | Move function into C11 where it is used.
* lib: randomBytes -> randomBytesWithLengthBetweenrsiddharth2021-02-241-2/+2
|
* lib: RandomKey -> RandomBytesrsiddharth2021-02-241-4/+4
|
* challenge: ch17.go: don't use lib.OracleKey and lib.OracleIVrsiddharth2021-02-241-10/+4
|
* lib: put rand functions in rand.gorsiddharth2021-02-241-49/+12
|
* lib: add OracleIVrsiddharth2021-02-211-0/+6
|
* lib: oracleKey -> OracleKeyrsiddharth2021-02-111-4/+4
|
* lib: randomInt -> RandomIntrsiddharth2021-02-111-4/+4
|
* challenge: do challenge 14rsiddharth2021-01-251-1/+1
|
* lib: add OracleAESVarEncryptECBrsiddharth2021-01-121-0/+6
| | | | For challenge 14. This will be used as the `AES-128-ECB` function.
* lib: add oracleRandomrsiddharth2021-01-121-0/+6
| | | | For challenge 14. This will be used as the `random-prefix`.
* lib: update randomBytesrsiddharth2021-01-121-14/+2
| | | | Use randomInt to get the random byte array length.
* lib: add randomIntrsiddharth2021-01-121-0/+19
|
* lib/aes: add OracleAESEncryptECBrsiddharth2020-12-131-0/+18
|
* lib/oracle.go: add OracleAESRandomEncryptrsiddharth2020-12-091-0/+68