summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* lib: rng.go: remove MTSeed, MTExtract, and friendssiddharth2021-08-171-46/+0
|
* challenge: update C22siddharth2021-08-171-4/+5
| | | | Use MTRand.Extract and MTRand.Seed instead of MTExtact and MTSeed.
* challenge: update C21siddharth2021-08-171-1/+2
| | | | Use MTRand instead of MTExtact.
* lib: add MTRand type and methodssiddharth2021-08-171-0/+50
| | | | This is going to replace MTSeed and MTExtract functions.
* challenge: do challenge 22siddharth2021-07-013-0/+69
|
* challenge/c21: add outputsiddharth2021-06-271-0/+125
|
* challenge: do challenge 21siddharth2021-06-273-0/+87
|
* challenge/c20.go: update outputsiddharth2021-06-201-60/+60
|
* challenge: do challenge 20siddharth2021-06-192-0/+209
|
* lib: update AlphaPunchScoresiddharth2021-06-191-20/+1
| | | | | - Use AsciiScores for scores - Remove isAlphaPunch
* lib: add PrintableAscii, AsciiScoressiddharth2021-06-192-23/+29
| | | | Extracted from challenge 19
* lib: update RepeatingXORsiddharth2021-06-193-21/+15
| | | | | | - Change input type to []byte. - Change retur type to []byte. - Update RepeatingXOR calls in challenge 5 an 6.
* lib/byte.go: fix copyrightsiddharth2021-06-061-1/+1
|
* challenge/c19: update commentsiddharth2021-06-061-1/+1
|
* challenge: do challenge 19siddharth2021-06-062-0/+218
|
* lib: add `ByteIsUpper`siddharth2021-06-061-0/+7
|
* lib: update `BytesInCommon`siddharth2021-06-051-2/+4
| | | | | Ensure that the returned `common` array does not point to any of the []byte arrays in `bbytes`.
* lib/byte.go: update `BytesInCommon` docsiddharth2021-06-051-1/+2
|
* lib: add byte.gosiddharth2021-06-051-0/+31
| | | | | - Add `ByteInBytes` function - Add `BytesInCommon` function
* lib: add ByteToUpperrsiddharth2021-03-061-5/+9
|
* lib: add AESGenCTRFuncrsiddharth2021-03-032-23/+24
|
* lib: add AESEncryptCTRrsiddharth2021-03-031-5/+16
|
* challenge: do challenge 18rsiddharth2021-03-012-0/+49
|
* lib: add AESDecryptCTRrsiddharth2021-03-011-0/+25
|
* challenge/c16.go: use lib.RandomBytes to generate keyrsiddharth2021-02-271-3/+1
|
* challenge: remove blank linesrsiddharth2021-02-249-12/+0
|
* lib: remove oracle.gorsiddharth2021-02-243-52/+45
| | | | Move functions into C12 and C14 where they're used.
* lib: remove OracleAESRandomEncryptrsiddharth2021-02-243-34/+34
| | | | Move function into C11 where it is used.
* lib: remove web.gorsiddharth2021-02-242-100/+82
| | | | Move all its functions to C13 where it is used.
* lib: update webSessionEncryptionKeyrsiddharth2021-02-241-4/+4
| | | | Use RandomBytes to set `webSessionEncryptionKey`
* lib: randomBytes -> randomBytesWithLengthBetweenrsiddharth2021-02-242-3/+3
|
* lib: RandomKey -> RandomBytesrsiddharth2021-02-243-7/+7
|
* challenge: ch17.go: don't use lib.OracleKey and lib.OracleIVrsiddharth2021-02-242-13/+14
|
* lib: put rand functions in rand.gorsiddharth2021-02-242-49/+59
|
* challenge/c16.go: refactorrsiddharth2021-02-241-69/+58
| | | | Keep everything inside C16
* challenge/c15.go: gofmtrsiddharth2021-02-241-0/+1
|
* challenge/c14.go: refactorrsiddharth2021-02-241-108/+103
| | | | Keep everything inside C14
* challenge/c13.go: gofmtrsiddharth2021-02-241-0/+1
|
* challenge/c12.go: refactorrsiddharth2021-02-242-81/+87
| | | | Keep everything inside C12
* challenge/c11.go: gofmtrsiddharth2021-02-241-0/+1
|
* challenge/c10.go: refactorrsiddharth2021-02-241-22/+12
| | | | Keep everything inside C10
* challenge/c09.go: gofmtrsiddharth2021-02-241-0/+1
|
* challenge/c08.go: refactorrsiddharth2021-02-241-210/+210
| | | | Keep everything inside C8
* challenge/c07.go: refactorrsiddharth2021-02-241-6/+6
| | | | Keep everything inside C7
* challenge/c06.go: refactorrsiddharth2021-02-241-98/+96
| | | | Keep everything inside C6
* challenge/c05.go: refactorrsiddharth2021-02-242-7/+5
| | | | Keep everything inside C5
* challenge/c04.go: refactorrsiddharth2021-02-241-35/+32
| | | | Keep everything inside C4
* challenge/c03.go: gofmtrsiddharth2021-02-241-0/+1
|
* challenge/c02.go: gofmtrsiddharth2021-02-241-0/+1
|
* challenge/c01.go: gofmtrsiddharth2021-02-241-0/+1
|