Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | challenge: do challenge 38v0.38.0 | siddharth ravikumar | 2022-07-23 | 1 | -1/+243 |
| | |||||
* | 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. | ||||
* | challenge: c38: implement simplified srp | siddharth ravikumar | 2022-06-30 | 2 | -0/+452 |
| | |||||
* | 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 |
| | |||||
* | challenge: do challenge 37v0.37.0 | siddharth ravikumar | 2022-05-30 | 1 | -0/+554 |
| | |||||
* | 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 |
| | |||||
* | Makefile: update fmt | siddharth ravikumar | 2022-05-30 | 1 | -1/+2 |
| | |||||
* | update name in copyright | siddharth ravikumar | 2022-05-23 | 65 | -65/+67 |
| | | | | Use full name. | ||||
* | challenge: finish challenge 36v0.36.0 | siddharth | 2022-05-14 | 2 | -20/+29 |
| | |||||
* | challeng: c36: implement logout | siddharth | 2022-05-14 | 2 | -3/+67 |
| | |||||
* | update LICENSE | siddharth | 2022-05-14 | 1 | -9/+9 |
| | |||||
* | challeng: c36: implement login | siddharth | 2022-05-14 | 1 | -2/+184 |
| | |||||
* | 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. | ||||
* | challenge: c36: implement srp registration | siddharth | 2022-04-30 | 2 | -0/+204 |
| | |||||
* | 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 |
| | |||||
* | Makefile: update test | siddharth | 2022-03-05 | 1 | -1/+1 |
| | |||||
* | lib: sha1MessageBlocks -> shaMessageBlocks | siddharth | 2022-03-05 | 1 | -2/+2 |
| | |||||
* | lib: add shaStr | siddharth | 2022-03-05 | 2 | -0/+21 |
| | |||||
* | challenge: do challenge 35 - part ii | siddharth | 2022-02-20 | 1 | -1/+339 |
| | |||||
* | challenge: do challenge 35 part i | siddharth | 2022-01-29 | 2 | -0/+360 |
| | | | | Mostly adapted from challenge 34 | ||||
* | challenge: update challenge 34v0.34.0 | siddharth | 2022-01-21 | 1 | -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('')` | siddharth | 2022-01-21 | 1 | -0/+9 |
| | |||||
* | challenge: do challenge 34 part ii | siddharth | 2022-01-20 | 1 | -17/+252 |
| | |||||
* | challenge: do challenge 34 - part i | siddharth | 2022-01-17 | 2 | -0/+317 |
| | |||||
* | lib: add StrToNum | siddharth | 2022-01-17 | 2 | -0/+70 |
| | |||||
* | README.md: update installation instructions | siddharth | 2021-11-27 | 1 | -0/+8 |
| | | | | With go >= 1.17, `go get` way of installing is deprecated. | ||||
* | challenge: do challenge 33 | siddharth | 2021-11-21 | 2 | -0/+54 |
| | |||||
* | lib: implement diffie-hellman | siddharth | 2021-11-21 | 2 | -0/+77 |
| |