summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* lib: fix copyright year for cbrtsiddharth ravikumar2022-11-252-2/+2
|
* lib: add `BigIntCubeRoot`siddharth ravikumar2022-11-202-0/+70
|
* lib: `invmod` -> `InvMod`siddharth ravikumar2022-11-202-10/+10
|
* lib: update `BigCubeRoot`siddharth ravikumar2022-11-201-1/+1
| | | | Increase the number of iterations to 1000000.
* lib: `BigCubeRoot`: refactor iterationsiddharth ravikumar2022-11-141-5/+2
|
* lib: `BigCubeRoot`: fix commentsiddharth ravikumar2022-11-141-1/+1
|
* lib: add `BigCubeRoot`siddharth ravikumar2022-11-142-0/+91
|
* lib: rsa: RSAPub: add N methodsiddharth ravikumar2022-11-121-0/+4
| | | | Returns `n`.
* lib: remove `egcd`siddharth ravikumar2022-08-142-91/+0
| | | | No longer needed.
* lib: add `TestRSAEncryptDecrypt`siddharth ravikumar2022-08-141-0/+38
|
* lib: RSAPrivate: add `Decrypt`siddharth ravikumar2022-08-141-0/+9
|
* lib: RSAPub: add `Encrypt`siddharth ravikumar2022-08-141-0/+11
|
* lib: add `RSAGenKey`siddharth ravikumar2022-08-142-0/+113
|
* lib: update TestInvModsiddharth ravikumar2022-08-141-0/+26
| | | | Add new tests.
* lib: add invmodsiddharth ravikumar2022-08-112-0/+59
|
* lib: add egcdsiddharth ravikumar2022-08-112-0/+117
|
* lib: `SRPUser`: add Identsiddharth ravikumar2022-07-231-0/+4
|
* lib: `SRPUser`: add ComputeVerifiersiddharth ravikumar2022-07-231-6/+11
| | | | Move verifier computation to its own function.
* lib: srp: SRPUser: add `GetScramblingParam`siddharth ravikumar2022-06-301-0/+4
|
* lib: srp: update session key macsiddharth ravikumar2022-06-291-2/+5
| | | | Use `HmacSha256`.
* lib: add handling for simplified srpsiddharth ravikumar2022-06-122-0/+176
|
* lib: bastardize srp implementationsiddharth ravikumar2022-05-301-10/+0
| | | | So that it can be exploited by the zero key attack (challenge 37).
* lib: srp: add SRPClientSession.SetSessionKeysiddharth ravikumar2022-05-301-0/+4
|
* update name in copyrightsiddharth ravikumar2022-05-2327-27/+27
| | | | Use full name.
* challenge: finish challenge 36v0.36.0siddharth2022-05-141-20/+0
|
* challeng: c36: implement logoutsiddharth2022-05-141-0/+3
|
* lib: SRPClient: add news functionssiddharth2022-05-141-0/+29
| | | | To set and get unexoposed fields.
* lib: SRPUser: add news functionssiddharth2022-05-141-0/+16
| | | | To set and get unexoposed fields.
* lib: SRPServer: add GetUsersiddharth2022-05-141-0/+9
|
* lib: srp: update SRPClientSessionsiddharth2022-05-141-0/+2
| | | | Add `loggedIn` field.
* lib: srp: update SRPUsersiddharth2022-05-141-0/+2
| | | | Add `loggedIn` field.
* lib: update SRPClientsiddharth2022-04-301-1/+1
| | | | Change session -> Session and make it pointer type.
* lib: add SRPServer.RegisterUsersiddharth2022-04-302-1/+60
|
* lib: add srp mac verification functionssiddharth2022-04-162-0/+27
|
* lib: add srp session key functionssiddharth2022-04-112-0/+164
|
* lib: add srp scrambling parameter functionssiddharth2022-04-102-0/+124
|
* lib: add srp ephemeral functionssiddharth2022-04-102-0/+117
|
* lib: add NewSRPClientSessionsiddharth2022-04-092-0/+79
|
* lib: flesh out SRPUsersiddharth2022-04-062-0/+202
|
* lib: add HmacSha256siddharth2022-03-292-0/+70
|
* lib: add sha256 implementationsiddharth2022-03-052-0/+223
|
* lib: sha1MessageBlocks -> shaMessageBlockssiddharth2022-03-051-2/+2
|
* lib: add shaStrsiddharth2022-03-052-0/+21
|
* lib: add test for `sha1('')`siddharth2022-01-211-0/+9
|
* lib: add StrToNumsiddharth2022-01-172-0/+70
|
* lib: implement diffie-hellmansiddharth2021-11-212-0/+77
|
* copyright: rsiddharth -> siddharthsiddharth2021-11-2019-19/+19
|
* lib: add Sleepsiddharth2021-10-161-0/+5
|
* lib: fix HexStrToBytessiddharth2021-10-161-1/+1
|
* lib: add HmacSha1siddharth2021-10-122-0/+116
|