mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-23 23:20:42 -04:00
increase key pair size to 2048 bits
This commit is contained in:
parent
bd70b935e4
commit
4dbbcd6217
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ public class Sig {
|
|||
long ts = System.currentTimeMillis();
|
||||
try {
|
||||
KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance(KEY_ALGO);
|
||||
keyPairGenerator.initialize(1024);
|
||||
keyPairGenerator.initialize(2048);
|
||||
return keyPairGenerator.genKeyPair();
|
||||
} catch (NoSuchAlgorithmException e) {
|
||||
log.error("Could not create key.", e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue