summaryrefslogtreecommitdiffstats
path: root/lib/sha1.go
Commit message (Collapse)AuthorAgeFilesLines
* lib: sha1MessageBlocks -> shaMessageBlockssiddharth2022-03-051-2/+2
|
* copyright: rsiddharth -> siddharthsiddharth2021-11-201-1/+1
|
* lib: add HmacSha1siddharth2021-10-121-0/+25
|
* lib: move around MDPaddingsiddharth2021-10-121-42/+42
|
* Revert "lib: move common hashing functions to hash.go"siddharth2021-10-101-1/+67
| | | | This reverts commit 15e142c3f12fd9228b69bcaf4a2703c9d8205d59.
* lib: move sha arithmetic functions to hash.gosiddharth2021-10-101-27/+8
|
* lib: move common hashing functions to hash.gosiddharth2021-10-101-67/+1
|
* 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
|
* lib: refactor sha1 implementationsiddharth2021-10-091-7/+23
| | | | Add ability to set initial hash values for Sha1
* lib: Sha1MacVerifysiddharth2021-10-051-0/+6
|
* lib: add Sha1Macsiddharth2021-10-051-0/+5
|
* lib: implement sha1siddharth2021-09-261-0/+209