Made the m and e the PRIVKEY's n and e

This commit is contained in:
Tracker-Friendly 2024-05-04 16:37:43 +01:00
parent 606a0f18cc
commit 36123f3eee
1 changed files with 2 additions and 2 deletions

View File

@ -302,8 +302,8 @@ func main() {
log.Fatal("[ERROR] Failed to convert public key to RSA public key") log.Fatal("[ERROR] Failed to convert public key to RSA public key")
} }
modulus = publicKey.N modulus = privateKey.N
exponent = publicKey.E exponent = privateKey.E
gin.SetMode(gin.ReleaseMode) gin.SetMode(gin.ReleaseMode)
router := gin.New() router := gin.New()