Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib: fix HexStrToBytes | siddharth | 2021-10-16 | 1 | -1/+1 |
| | |||||
* | lib: add HmacSha1 | siddharth | 2021-10-12 | 2 | -0/+116 |
| | |||||
* | lib: move around MDPadding | siddharth | 2021-10-12 | 1 | -42/+42 |
| | |||||
* | lib: add BytesToUint32sLittleEndian | siddharth | 2021-10-11 | 1 | -0/+22 |
| | |||||
* | lib: add Mac and MacVerify for md4 | siddharth | 2021-10-11 | 2 | -0/+33 |
| | |||||
* | lib: md4Padding -> Md4Padding | siddharth | 2021-10-11 | 1 | -2/+2 |
| | |||||
* | lib: implement md4 | siddharth | 2021-10-10 | 2 | -0/+311 |
| | |||||
* | Revert "lib: move common hashing functions to hash.go" | siddharth | 2021-10-10 | 2 | -68/+67 |
| | | | | This reverts commit 15e142c3f12fd9228b69bcaf4a2703c9d8205d59. | ||||
* | lib: move sha arithmetic functions to hash.go | siddharth | 2021-10-10 | 2 | -27/+27 |
| | |||||
* | lib: sha_test: reformat import statement | siddharth | 2021-10-10 | 1 | -3/+1 |
| | |||||
* | lib: add test for sha1 | siddharth | 2021-10-10 | 1 | -0/+46 |
| | |||||
* | lib: move common hashing functions to hash.go | siddharth | 2021-10-10 | 2 | -67/+72 |
| | |||||
* | lib: update HexStrToAsciiStr | siddharth | 2021-10-10 | 1 | -2/+2 |
| | | | | Convert uint16 to byte before converting it to a string. | ||||
* | lib: refactor sha1 padding and hashing | siddharth | 2021-10-09 | 1 | -20/+30 |
| | | | | | Refactor so that the Sha1 message length can be fudged before the message is hashed; for use in challenge 29. | ||||
* | lib: update sha1Pad | siddharth | 2021-10-09 | 1 | -32/+2 |
| | | | | Use MDPadding for padding the message. | ||||
* | lib: add MPPadding | siddharth | 2021-10-09 | 1 | -0/+41 |
| | |||||
* | lib: add BytesToUint32s | siddharth | 2021-10-09 | 1 | -0/+22 |
| | |||||
* | lib: refactor sha1 implementation | siddharth | 2021-10-09 | 1 | -7/+23 |
| | | | | Add ability to set initial hash values for Sha1 | ||||
* | lib: Sha1MacVerify | siddharth | 2021-10-05 | 1 | -0/+6 |
| | |||||
* | lib: add Sha1Mac | siddharth | 2021-10-05 | 1 | -0/+5 |
| | |||||
* | lib: implement sha1 | siddharth | 2021-09-26 | 1 | -0/+209 |
| | |||||
* | lib: CPError.err -> CPError.Err | siddharth | 2021-09-19 | 1 | -2/+2 |
| | |||||
* | 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. |