From 36123f3eeee2bebc37c8c86f7681ea279562d429 Mon Sep 17 00:00:00 2001 From: Arzumify Date: Sat, 4 May 2024 16:37:43 +0100 Subject: [PATCH] Made the m and e the PRIVKEY's n and e --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index ae22662..4904bc3 100644 --- a/main.go +++ b/main.go @@ -302,8 +302,8 @@ func main() { log.Fatal("[ERROR] Failed to convert public key to RSA public key") } - modulus = publicKey.N - exponent = publicKey.E + modulus = privateKey.N + exponent = privateKey.E gin.SetMode(gin.ReleaseMode) router := gin.New()