summaryrefslogtreecommitdiffstats
path: root/lib/rsa.go
Commit message (Collapse)AuthorAgeFilesLines
* lib: fix `RSAPub.E`siddharth ravikumar2023-04-081-1/+1
| | | | Return `e`.
* lib: add `RSAPub.E` functionsiddharth ravikumar2022-11-271-0/+4
| | | | Returns `e`.
* lib: `invmod` -> `InvMod`siddharth ravikumar2022-11-201-2/+2
|
* lib: rsa: RSAPub: add N methodsiddharth ravikumar2022-11-121-0/+4
| | | | Returns `n`.
* lib: remove `egcd`siddharth ravikumar2022-08-141-48/+0
| | | | No longer needed.
* 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-141-0/+77
|
* lib: add invmodsiddharth ravikumar2022-08-111-0/+35
|
* lib: add egcdsiddharth ravikumar2022-08-111-0/+65