summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* lib: add sha256 implementationsiddharth2022-03-052-0/+223
|
* Makefile: update testsiddharth2022-03-051-1/+1
|
* lib: sha1MessageBlocks -> shaMessageBlockssiddharth2022-03-051-2/+2
|
* lib: add shaStrsiddharth2022-03-052-0/+21
|
* challenge: do challenge 35 - part iisiddharth2022-02-201-1/+339
|
* challenge: do challenge 35 part isiddharth2022-01-292-0/+360
| | | | Mostly adapted from challenge 34
* challenge: update challenge 34v0.34.0siddharth2022-01-211-2/+8
| | | | | Use sha1 of the session key as the key for encryption/decryption instead of the session key itself.
* lib: add test for `sha1('')`siddharth2022-01-211-0/+9
|
* challenge: do challenge 34 part iisiddharth2022-01-201-17/+252
|
* challenge: do challenge 34 - part isiddharth2022-01-172-0/+317
|
* lib: add StrToNumsiddharth2022-01-172-0/+70
|
* README.md: update installation instructionssiddharth2021-11-271-0/+8
| | | | With go >= 1.17, `go get` way of installing is deprecated.
* challenge: do challenge 33siddharth2021-11-212-0/+54
|
* lib: implement diffie-hellmansiddharth2021-11-212-0/+77
|
* copyright: rsiddharth -> siddharthsiddharth2021-11-2053-53/+53
|
* README.md: update statussiddharth2021-10-171-1/+1
|
* challenge: do challenge 32siddharth2021-10-172-0/+175
|
* challenge: do challenge 31siddharth2021-10-162-0/+175
|
* lib: add Sleepsiddharth2021-10-161-0/+5
|
* lib: fix HexStrToBytessiddharth2021-10-161-1/+1
|
* lib: add HmacSha1siddharth2021-10-122-0/+116
|
* lib: move around MDPaddingsiddharth2021-10-121-42/+42
|
* challenge: do challenge 30siddharth2021-10-112-0/+78
|
* lib: add BytesToUint32sLittleEndiansiddharth2021-10-111-0/+22
|
* lib: add Mac and MacVerify for md4siddharth2021-10-112-0/+33
|
* lib: md4Padding -> Md4Paddingsiddharth2021-10-111-2/+2
|
* lib: implement md4siddharth2021-10-102-0/+311
|
* Revert "lib: move common hashing functions to hash.go"siddharth2021-10-102-68/+67
| | | | This reverts commit 15e142c3f12fd9228b69bcaf4a2703c9d8205d59.
* lib: move sha arithmetic functions to hash.gosiddharth2021-10-102-27/+27
|
* lib: sha_test: reformat import statementsiddharth2021-10-101-3/+1
|
* lib: add test for sha1siddharth2021-10-102-0/+50
|
* lib: move common hashing functions to hash.gosiddharth2021-10-102-67/+72
|
* lib: update HexStrToAsciiStrsiddharth2021-10-101-2/+2
| | | | Convert uint16 to byte before converting it to a string.
* challenge: do challenge 29siddharth2021-10-092-0/+78
|
* lib: refactor sha1 padding and hashingsiddharth2021-10-091-20/+30
| | | | | Refactor so that the Sha1 message length can be fudged before the message is hashed; for use in challenge 29.
* lib: update sha1Padsiddharth2021-10-091-32/+2
| | | | Use MDPadding for padding the message.
* lib: add MPPaddingsiddharth2021-10-091-0/+41
|
* challenge: fix C28siddharth2021-10-091-0/+1
| | | | Init sha1.
* lib: add BytesToUint32ssiddharth2021-10-091-0/+22
|
* lib: refactor sha1 implementationsiddharth2021-10-092-10/+29
| | | | Add ability to set initial hash values for Sha1
* challenge: do challenge 28siddharth2021-10-052-0/+61
|
* lib: Sha1MacVerifysiddharth2021-10-051-0/+6
|
* lib: add Sha1Macsiddharth2021-10-051-0/+5
|
* lib: implement sha1siddharth2021-09-261-0/+209
|
* challenge: do challenge 27siddharth2021-09-192-0/+89
|
* lib: CPError.err -> CPError.Errsiddharth2021-09-191-2/+2
|
* lib: aesInvCipher -> AESInvCiphersiddharth2021-09-191-3/+3
|
* challenge: do challenge 26siddharth2021-09-172-0/+97
|
* challenge: do challenge 25siddharth2021-09-122-0/+236
|
* lib/rng.go: remove blank linesiddharth2021-09-121-1/+0
|