mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 16:49:12 +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) {
|
public static void main(String[] args) {
|
||||||
Random random = new SecureRandom();
|
Random random = new SecureRandom();
|
||||||
|
|
||||||
BigInteger publicKey = BigInteger.valueOf(65535);
|
BigInteger publicKey = BigInteger.valueOf(65_537);
|
||||||
BigInteger p, q, phi, modulus, privateKey;
|
BigInteger p, q, phi, modulus, privateKey;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|||||||
Reference in New Issue
Block a user