Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | lib: add test for sha1 | siddharth | 2021-10-10 | 2 | -0/+50 | |
| | ||||||
* | 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. | |||||
* | challenge: do challenge 29 | siddharth | 2021-10-09 | 2 | -0/+78 | |
| | ||||||
* | 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 | |
| | ||||||
* | challenge: fix C28 | siddharth | 2021-10-09 | 1 | -0/+1 | |
| | | | | Init sha1. | |||||
* | lib: add BytesToUint32s | siddharth | 2021-10-09 | 1 | -0/+22 | |
| | ||||||
* | lib: refactor sha1 implementation | siddharth | 2021-10-09 | 2 | -10/+29 | |
| | | | | Add ability to set initial hash values for Sha1 | |||||
* | challenge: do challenge 28 | siddharth | 2021-10-05 | 2 | -0/+61 | |
| | ||||||
* | 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 | |
| | ||||||
* | challenge: do challenge 27 | siddharth | 2021-09-19 | 2 | -0/+89 | |
| | ||||||
* | lib: CPError.err -> CPError.Err | siddharth | 2021-09-19 | 1 | -2/+2 | |
| | ||||||
* | lib: aesInvCipher -> AESInvCipher | siddharth | 2021-09-19 | 1 | -3/+3 | |
| | ||||||
* | challenge: do challenge 26 | siddharth | 2021-09-17 | 2 | -0/+97 | |
| | ||||||
* | challenge: do challenge 25 | siddharth | 2021-09-12 | 2 | -0/+236 | |
| | ||||||
* | 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 | |
| | ||||||
* | challenge: refactor C24 | siddharth | 2021-09-09 | 1 | -19/+42 | |
| | ||||||
* | README.md: update progress | siddharth | 2021-09-04 | 1 | -1/+1 | |
| | ||||||
* | challenge: go fmt | siddharth | 2021-09-04 | 1 | -14/+14 | |
| | ||||||
* | challenge: C24: implement part 2 | siddharth | 2021-09-04 | 1 | -0/+21 | |
| | ||||||
* | lib: MTPasswordResetToken -> MTToken | siddharth | 2021-09-04 | 1 | -1/+3 | |
| | ||||||
* | challenge: C24: fix if block | siddharth | 2021-09-04 | 1 | -1/+1 | |
| | ||||||
* | lib: MTPpasswordResetToken | siddharth | 2021-09-04 | 1 | -0/+22 | |
| | ||||||
* | challenge: do challenge 24, part 1 | siddharth | 2021-09-04 | 2 | -0/+52 | |
| | ||||||
* | lib: add MTXORStream | siddharth | 2021-09-04 | 1 | -0/+49 | |
| | ||||||
* | lib: add BytesEqual | siddharth | 2021-09-04 | 1 | -0/+4 | |
| | ||||||
* | challenge: do challenge 23 | siddharth | 2021-08-18 | 2 | -0/+662 | |
| | ||||||
* | 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 | |
| | ||||||
* | 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 | |
| |