You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
line 106 func EncryptAndNonce(pubKey *PublicKey, plainText []byte) ([]byte, *big.Int, error)
line 107 r, err := rand.Int(rand.Reader, pubKey.N)
r just a random int,
How to ensure that r and N are relatively prime , gcd(r,N)=1?
The text was updated successfully, but these errors were encountered:
line 106 func EncryptAndNonce(pubKey *PublicKey, plainText []byte) ([]byte, *big.Int, error)
line 107 r, err := rand.Int(rand.Reader, pubKey.N)
r just a random int,
How to ensure that r and N are relatively prime , gcd(r,N)=1?
The text was updated successfully, but these errors were encountered: