summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* lib: add HmacSha256siddharth2022-03-292-0/+70
|
* lib: add sha256 implementationsiddharth2022-03-052-0/+223
|
* Makefile: update testsiddharth2022-03-051-1/+1
|
* lib: sha1MessageBlocks -> shaMessageBlockssiddharth2022-03-051-2/+2
|
* lib: add shaStrsiddharth2022-03-052-0/+21
|
* challenge: do challenge 35 - part iisiddharth2022-02-201-1/+339
|
* challenge: do challenge 35 part isiddharth2022-01-292-0/+360
| | | | Mostly adapted from challenge 34