summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* challenge: do challenge 40v0.40.0siddharth ravikumar2022-11-252-0/+84
|
* 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`.
* README.md: update go version requirementsiddharth ravikumar2022-11-111-1/+1
|
* challenge: fix go vet warningssiddharth ravikumar2022-11-114-21/+21
|
* go.mod: upgrade to go version 1.15siddharth ravikumar2022-11-111-1/+1
|
* lib: remove `egcd`siddharth ravikumar2022-08-142-91/+0
| | | | No longer needed.
* challenge: do challenge 39v0.39.0siddharth ravikumar2022-08-142-0/+55
|
* 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
|
* challenge: do challenge 38v0.38.0siddharth ravikumar2022-07-231-1/+243
|
* 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.
* challenge: c38: implement simplified srpsiddharth ravikumar2022-06-302-0/+452
|
* 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
|
* challenge: do challenge 37v0.37.0siddharth ravikumar2022-05-301-0/+554
|
* 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
|
* Makefile: update fmtsiddharth ravikumar2022-05-301-1/+2
|
* update name in copyrightsiddharth ravikumar2022-05-2365-65/+67
| | | | Use full name.
* challenge: finish challenge 36v0.36.0siddharth2022-05-142-20/+29
|
* challeng: c36: implement logoutsiddharth2022-05-142-3/+67
|
* update LICENSEsiddharth2022-05-141-9/+9
|
* challeng: c36: implement loginsiddharth2022-05-141-2/+184
|
* 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.
* challenge: c36: implement srp registrationsiddharth2022-04-302-0/+204
|
* 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
|