mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-23 04:20:16 +08:00
style: do not suppress this-escape
(#5166)
This commit is contained in:
@ -47,7 +47,7 @@ public class RSA {
|
||||
/**
|
||||
* Generate a new public and private key set.
|
||||
*/
|
||||
public synchronized void generateKeys(int bits) {
|
||||
public final synchronized void generateKeys(int bits) {
|
||||
SecureRandom r = new SecureRandom();
|
||||
BigInteger p = new BigInteger(bits / 2, 100, r);
|
||||
BigInteger q = new BigInteger(bits / 2, 100, r);
|
||||
|
Reference in New Issue
Block a user