Change RSA public key to 65537 (thanks Lmctruck).

This commit is contained in:
Major- committed 2015-03-28 20:57:23 +00:00
1 parent fdfd4c6f32
commit e598e95c50
1 file changed
+1 -1
+1 -1
View File
@@ -25,7 +25,7 @@ public final class RsaKeyGenerator {
public static void main(String[] args) {
Random random = new SecureRandom();
BigInteger publicKey = BigInteger.valueOf(65535);
BigInteger publicKey = BigInteger.valueOf(65_537);
BigInteger p, q, phi, modulus, privateKey;
do {