Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | lib: aesInvCipher -> AESInvCipher | siddharth | 2021-09-19 | 1 | -3/+3 | |
| | ||||||
* | lib/rng.go: remove blank line | siddharth | 2021-09-12 | 1 | -1/+0 | |
| | ||||||
* | lib: aesCipher -> AESCipher | siddharth | 2021-09-12 | 1 | -4/+4 | |
| | ||||||
* | lib: remove MTToken | siddharth | 2021-09-09 | 1 | -23/+0 | |
| | ||||||
* | lib: MTPasswordResetToken -> MTToken | siddharth | 2021-09-04 | 1 | -1/+3 | |
| | ||||||
* | lib: MTPpasswordResetToken | siddharth | 2021-09-04 | 1 | -0/+22 | |
| | ||||||
* | lib: add MTXORStream | siddharth | 2021-09-04 | 1 | -0/+49 | |
| | ||||||
* | lib: add BytesEqual | siddharth | 2021-09-04 | 1 | -0/+4 | |
| | ||||||
* | lib: MTRand.index -> MTRand.Index | siddharth | 2021-08-18 | 1 | -6/+7 | |
| | ||||||
* | lib: MTRand.genSt -> MTRand.GenST | siddharth | 2021-08-18 | 1 | -8/+8 | |
| | ||||||
* | 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 | |
| | ||||||
* | 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 | 1 | -0/+11 | |
| | ||||||
* | challenge: do challenge 21 | siddharth | 2021-06-27 | 1 | -0/+69 | |
| | ||||||
* | lib: update AlphaPunchScore | siddharth | 2021-06-19 | 1 | -20/+1 | |
| | | | | | - Use AsciiScores for scores - Remove isAlphaPunch | |||||
* | lib: add PrintableAscii, AsciiScores | siddharth | 2021-06-19 | 1 | -0/+27 | |
| | | | | Extracted from challenge 19 | |||||
* | lib: update RepeatingXOR | siddharth | 2021-06-19 | 1 | -11/+5 | |
| | | | | | | - 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 | |
| | ||||||
* | 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 | 1 | -0/+23 | |
| | ||||||
* | lib: add AESEncryptCTR | rsiddharth | 2021-03-03 | 1 | -5/+16 | |
| | ||||||
* | lib: add AESDecryptCTR | rsiddharth | 2021-03-01 | 1 | -0/+25 | |
| | ||||||
* | lib: remove oracle.go | rsiddharth | 2021-02-24 | 1 | -36/+0 | |
| | | | | Move functions into C12 and C14 where they're used. | |||||
* | lib: remove OracleAESRandomEncrypt | rsiddharth | 2021-02-24 | 2 | -33/+1 | |
| | | | | Move function into C11 where it is used. | |||||
* | lib: remove web.go | rsiddharth | 2021-02-24 | 1 | -94/+0 | |
| | | | | 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 | 2 | -5/+5 | |
| | ||||||
* | challenge: ch17.go: don't use lib.OracleKey and lib.OracleIV | rsiddharth | 2021-02-24 | 1 | -10/+4 | |
| | ||||||
* | lib: put rand functions in rand.go | rsiddharth | 2021-02-24 | 2 | -49/+59 | |
| | ||||||
* | lib: add OracleIV | rsiddharth | 2021-02-21 | 1 | -0/+6 | |
| | ||||||
* | lib: update Pkcs7PaddingUndo, AESDecryptCBC | rsiddharth | 2021-02-11 | 2 | -7/+7 | |
| | | | | | Add error as the second return value to Pkcs7PaddingUndo and AESDecryptCBC. | |||||
* | lib: add CPError | rsiddharth | 2021-02-11 | 1 | -0/+11 | |
| | ||||||
* | lib: oracleKey -> OracleKey | rsiddharth | 2021-02-11 | 1 | -4/+4 | |
| | ||||||
* | lib: randomInt -> RandomInt | rsiddharth | 2021-02-11 | 1 | -4/+4 | |
| | ||||||
* | lib: add StrHas | rsiddharth | 2021-01-30 | 1 | -0/+10 | |
| | ||||||
* | lib: update StripSpaceChars | rsiddharth | 2021-01-30 | 1 | -0/+3 | |
| | | | | strip 'NUL' character too. | |||||
* | lib: stripSpaceChars -> StripSpaceChars | rsiddharth | 2021-01-30 | 3 | -3/+3 | |
| | ||||||
* | lib: add StrToUpper | rsiddharth | 2021-01-27 | 1 | -0/+12 | |
| | ||||||
* | lib: update Pkcs7PaddingUndo | rsiddharth | 2021-01-26 | 1 | -1/+10 | |
| | | | | Add validation. | |||||
* | challenge: do challenge 14 | rsiddharth | 2021-01-25 | 1 | -1/+1 | |
| | ||||||
* | lib: add HasConsecutiveMatchingBlocks | rsiddharth | 2021-01-12 | 1 | -0/+14 | |
| | ||||||
* | lib: add OracleAESVarEncryptECB | rsiddharth | 2021-01-12 | 1 | -0/+6 | |
| | | | | For challenge 14. This will be used as the `AES-128-ECB` function. | |||||
* | lib: add oracleRandom | rsiddharth | 2021-01-12 | 1 | -0/+6 | |
| | | | | For challenge 14. This will be used as the `random-prefix`. | |||||
* | lib: update randomBytes | rsiddharth | 2021-01-12 | 1 | -14/+2 | |
| | | | | Use randomInt to get the random byte array length. |