diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2023-04-08 10:26:30 -0400 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2023-04-08 10:26:50 -0400 |
commit | 695940622dd6dd9d231d3e0d7c987176043ed6c8 (patch) | |
tree | 10dd22108996ce0fcf6a13cb0ab06b777825bba3 /lib/rsa.go | |
parent | aa21a7d5905756e77d0d814df1182266cbfc2596 (diff) |
lib: fix `RSAPub.E`
Return `e`.
Diffstat (limited to 'lib/rsa.go')
-rw-r--r-- | lib/rsa.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -139,7 +139,7 @@ func (r *RSAPub) Encrypt(msg []byte) []byte { } func (r *RSAPub) E() *big.Int { - return r.n + return r.e } func (r *RSAPub) N() *big.Int { |