Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib: remove `egcd` | siddharth ravikumar | 2022-08-14 | 2 | -91/+0 |
| | | | | No longer needed. | ||||
* | lib: add `TestRSAEncryptDecrypt` | siddharth ravikumar | 2022-08-14 | 1 | -0/+38 |
| | |||||
* | lib: RSAPrivate: add `Decrypt` | siddharth ravikumar | 2022-08-14 | 1 | -0/+9 |
| | |||||
* | lib: RSAPub: add `Encrypt` | siddharth ravikumar | 2022-08-14 | 1 | -0/+11 |
| | |||||
* | lib: add `RSAGenKey` | siddharth ravikumar | 2022-08-14 | 2 | -0/+113 |
| | |||||
* | lib: update TestInvMod | siddharth ravikumar | 2022-08-14 | 1 | -0/+26 |
| | | | | Add new tests. | ||||
* | lib: add invmod | siddharth ravikumar | 2022-08-11 | 2 | -0/+59 |
| | |||||
* | lib: add egcd | siddharth ravikumar | 2022-08-11 | 2 | -0/+117 |
| | |||||
* | lib: `SRPUser`: add Ident | siddharth ravikumar | 2022-07-23 | 1 | -0/+4 |
| | |||||
* | lib: `SRPUser`: add ComputeVerifier | siddharth ravikumar | 2022-07-23 | 1 | -6/+11 |
| | | | | Move verifier computation to its own function. | ||||
* | lib: srp: SRPUser: add `GetScramblingParam` | siddharth ravikumar | 2022-06-30 | 1 | -0/+4 |
| | |||||
* | lib: srp: update session key mac | siddharth ravikumar | 2022-06-29 | 1 | -2/+5 |
| | | | | Use `HmacSha256`. | ||||
* | lib: add handling for simplified srp | siddharth ravikumar | 2022-06-12 | 2 | -0/+176 |
| | |||||
* | lib: bastardize srp implementation | siddharth ravikumar | 2022-05-30 | 1 | -10/+0 |
| | | | | So that it can be exploited by the zero key attack (challenge 37). | ||||
* | lib: srp: add SRPClientSession.SetSessionKey | siddharth ravikumar | 2022-05-30 | 1 | -0/+4 |
| | |||||
* | update name in copyright | siddharth ravikumar | 2022-05-23 | 27 | -27/+27 |
| | | | | Use full name. | ||||
* | challenge: finish challenge 36v0.36.0 | siddharth | 2022-05-14 | 1 | -20/+0 |
| | |||||
* | challeng: c36: implement logout | siddharth | 2022-05-14 | 1 | -0/+3 |
| | |||||
* | lib: SRPClient: add news functions | siddharth | 2022-05-14 | 1 | -0/+29 |
| | | | | To set and get unexoposed fields. | ||||
* | lib: SRPUser: add news functions | siddharth | 2022-05-14 | 1 | -0/+16 |
| | | | | To set and get unexoposed fields. | ||||
* | lib: SRPServer: add GetUser | siddharth | 2022-05-14 | 1 | -0/+9 |
| | |||||
* | lib: srp: update SRPClientSession | siddharth | 2022-05-14 | 1 | -0/+2 |
| | | | | Add `loggedIn` field. | ||||
* | lib: srp: update SRPUser | siddharth | 2022-05-14 | 1 | -0/+2 |
| | | | | Add `loggedIn` field. | ||||
* | lib: update SRPClient | siddharth | 2022-04-30 | 1 | -1/+1 |
| | | | | Change session -> Session and make it pointer type. | ||||
* | lib: add SRPServer.RegisterUser | siddharth | 2022-04-30 | 2 | -1/+60 |
| | |||||
* | lib: add srp mac verification functions | siddharth | 2022-04-16 | 2 | -0/+27 |
| | |||||
* | lib: add srp session key functions | siddharth | 2022-04-11 | 2 | -0/+164 |
| | |||||
* | lib: add srp scrambling parameter functions | siddharth | 2022-04-10 | 2 | -0/+124 |
| | |||||
* | lib: add srp ephemeral functions | siddharth | 2022-04-10 | 2 | -0/+117 |
| | |||||
* | lib: add NewSRPClientSession | siddharth | 2022-04-09 | 2 | -0/+79 |
| | |||||
* | lib: flesh out SRPUser | siddharth | 2022-04-06 | 2 | -0/+202 |
| | |||||
* | lib: add HmacSha256 | siddharth | 2022-03-29 | 2 | -0/+70 |
| | |||||
* | lib: add sha256 implementation | siddharth | 2022-03-05 | 2 | -0/+223 |
| | |||||
* | lib: sha1MessageBlocks -> shaMessageBlocks | siddharth | 2022-03-05 | 1 | -2/+2 |
| | |||||
* | lib: add shaStr | siddharth | 2022-03-05 | 2 | -0/+21 |
| | |||||
* | lib: add test for `sha1('')` | siddharth | 2022-01-21 | 1 | -0/+9 |
| | |||||
* | lib: add StrToNum | siddharth | 2022-01-17 | 2 | -0/+70 |
| | |||||
* | lib: implement diffie-hellman | siddharth | 2021-11-21 | 2 | -0/+77 |
| | |||||
* | copyright: rsiddharth -> siddharth | siddharth | 2021-11-20 | 19 | -19/+19 |
| | |||||
* | lib: add Sleep | siddharth | 2021-10-16 | 1 | -0/+5 |
| | |||||
* | 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 |
| |