summaryrefslogtreecommitdiffstats
path: root/lib/rsa.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rsa.go')
-rw-r--r--lib/rsa.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rsa.go b/lib/rsa.go
index 87b7447..772b898 100644
--- a/lib/rsa.go
+++ b/lib/rsa.go
@@ -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 {