Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | challenge: update `C39` | siddharth ravikumar | 2022-11-25 | 1 | -0/+1 |
| | | | | Immediately return when rsa key generation fails. | ||||
* | lib: fix copyright year for cbrt | siddharth ravikumar | 2022-11-25 | 2 | -2/+2 |
| | |||||
* | README.md: status update | siddharth ravikumar | 2022-11-25 | 1 | -1/+1 |
| | |||||
* | challenge: do challenge 40v0.40.0 | siddharth ravikumar | 2022-11-25 | 2 | -0/+84 |
| | |||||
* | lib: add `BigIntCubeRoot` | siddharth ravikumar | 2022-11-20 | 2 | -0/+70 |
| | |||||
* | lib: `invmod` -> `InvMod` | siddharth ravikumar | 2022-11-20 | 2 | -10/+10 |
| | |||||
* | lib: update `BigCubeRoot` | siddharth ravikumar | 2022-11-20 | 1 | -1/+1 |
| | | | | Increase the number of iterations to 1000000. | ||||
* | lib: `BigCubeRoot`: refactor iteration | siddharth ravikumar | 2022-11-14 | 1 | -5/+2 |
| | |||||
* | lib: `BigCubeRoot`: fix comment | siddharth ravikumar | 2022-11-14 | 1 | -1/+1 |
| | |||||
* | lib: add `BigCubeRoot` | siddharth ravikumar | 2022-11-14 | 2 | -0/+91 |
| | |||||
* | lib: rsa: RSAPub: add N method | siddharth ravikumar | 2022-11-12 | 1 | -0/+4 |
| | | | | Returns `n`. | ||||
* | README.md: update go version requirement | siddharth ravikumar | 2022-11-11 | 1 | -1/+1 |
| | |||||
* | challenge: fix go vet warnings | siddharth ravikumar | 2022-11-11 | 4 | -21/+21 |
| | |||||
* | go.mod: upgrade to go version 1.15 | siddharth ravikumar | 2022-11-11 | 1 | -1/+1 |
| | |||||
* | lib: remove `egcd` | siddharth ravikumar | 2022-08-14 | 2 | -91/+0 |
| | | | | No longer needed. | ||||
* | challenge: do challenge 39v0.39.0 | siddharth ravikumar | 2022-08-14 | 2 | -0/+55 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| |