mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Change RSA public key to 65537 (thanks Lmctruck).
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user