Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib: add MTRand.UnTemper | siddharth | 2021-08-17 | 1 | -0/+21 |
| | |||||
* | lib: rng.go: remove MTSeed, MTExtract, and friends | siddharth | 2021-08-17 | 1 | -46/+0 |
| | |||||
* | challenge: update C22 | siddharth | 2021-08-17 | 1 | -4/+5 |
| | | | | Use MTRand.Extract and MTRand.Seed instead of MTExtact and MTSeed. | ||||
* | challenge: update C21 | siddharth | 2021-08-17 | 1 | -1/+2 |
| | | | | Use MTRand instead of MTExtact. | ||||
* | lib: add MTRand type and methods | siddharth | 2021-08-17 | 1 | -0/+50 |
| | | | | This is going to replace MTSeed and MTExtract functions. | ||||
* | challenge: do challenge 22 | siddharth | 2021-07-01 | 3 | -0/+69 |
| | |||||
* | challenge/c21: add output | siddharth | 2021-06-27 | 1 | -0/+125 |
| | |||||
* | challenge: do challenge 21 | siddharth | 2021-06-27 | 3 | -0/+87 |
| | |||||
* | challenge/c20.go: update output | siddharth | 2021-06-20 | 1 | -60/+60 |
| | |||||
* | challenge: do challenge 20 | siddharth | 2021-06-19 | 2 | -0/+209 |
| | |||||
* | lib: update AlphaPunchScore | siddharth | 2021-06-19 | 1 | -20/+1 |
| | | | | | - Use AsciiScores for scores - Remove isAlphaPunch | ||||
* | lib: add PrintableAscii, AsciiScores | siddharth | 2021-06-19 | 2 | -23/+29 |
| | | | | Extracted from challenge 19 | ||||
* | lib: update RepeatingXOR | siddharth | 2021-06-19 | 3 | -21/+15 |
| | | | | | | - Change input type to []byte. - Change retur type to []byte. - Update RepeatingXOR calls in challenge 5 an 6. | ||||
* | lib/byte.go: fix copyright | siddharth | 2021-06-06 | 1 | -1/+1 |
| | |||||
* | challenge/c19: update comment | siddharth | 2021-06-06 | 1 | -1/+1 |
| | |||||
* | challenge: do challenge 19 | siddharth | 2021-06-06 | 2 | -0/+218 |
| | |||||
* | lib: add `ByteIsUpper` | siddharth | 2021-06-06 | 1 | -0/+7 |
| | |||||
* | lib: update `BytesInCommon` | siddharth | 2021-06-05 | 1 | -2/+4 |
| | | | | | Ensure that the returned `common` array does not point to any of the []byte arrays in `bbytes`. | ||||
* | lib/byte.go: update `BytesInCommon` doc | siddharth | 2021-06-05 | 1 | -1/+2 |
| | |||||
* | lib: add byte.go | siddharth | 2021-06-05 | 1 | -0/+31 |
| | | | | | - Add `ByteInBytes` function - Add `BytesInCommon` function | ||||
* | lib: add ByteToUpper | rsiddharth | 2021-03-06 | 1 | -5/+9 |
| | |||||
* | lib: add AESGenCTRFunc | rsiddharth | 2021-03-03 | 2 | -23/+24 |
| | |||||
* | lib: add AESEncryptCTR | rsiddharth | 2021-03-03 | 1 | -5/+16 |
| | |||||
* | challenge: do challenge 18 | rsiddharth | 2021-03-01 | 2 | -0/+49 |
| | |||||
* | lib: add AESDecryptCTR | rsiddharth | 2021-03-01 | 1 | -0/+25 |
| | |||||
* | challenge/c16.go: use lib.RandomBytes to generate key | rsiddharth | 2021-02-27 | 1 | -3/+1 |
| | |||||
* | challenge: remove blank lines | rsiddharth | 2021-02-24 | 9 | -12/+0 |
| | |||||
* | lib: remove oracle.go | rsiddharth | 2021-02-24 | 3 | -52/+45 |
| | | | | Move functions into C12 and C14 where they're used. | ||||
* | lib: remove OracleAESRandomEncrypt | rsiddharth | 2021-02-24 | 3 | -34/+34 |
| | | | | Move function into C11 where it is used. | ||||
* | lib: remove web.go | rsiddharth | 2021-02-24 | 2 | -100/+82 |
| | | | | Move all its functions to C13 where it is used. | ||||
* | lib: update webSessionEncryptionKey | rsiddharth | 2021-02-24 | 1 | -4/+4 |
| | | | | Use RandomBytes to set `webSessionEncryptionKey` | ||||
* | lib: randomBytes -> randomBytesWithLengthBetween | rsiddharth | 2021-02-24 | 2 | -3/+3 |
| | |||||
* | lib: RandomKey -> RandomBytes | rsiddharth | 2021-02-24 | 3 | -7/+7 |
| | |||||
* | challenge: ch17.go: don't use lib.OracleKey and lib.OracleIV | rsiddharth | 2021-02-24 | 2 | -13/+14 |
| | |||||
* | lib: put rand functions in rand.go | rsiddharth | 2021-02-24 | 2 | -49/+59 |
| | |||||
* | 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 |
| |