mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
RsaKeyPair: Use the recommended size of 4096
This commit is contained in:
@ -44,7 +44,7 @@ class RsaKeyPair {
|
||||
}
|
||||
|
||||
RsaKeyPair.generate() {
|
||||
var keyPair = RSAKeypair.fromRandom();
|
||||
var keyPair = RSAKeypair.fromRandom(keySize: 4096);
|
||||
|
||||
publicKey = keyPair.publicKey;
|
||||
privateKey = keyPair.privateKey;
|
||||
|
Reference in New Issue
Block a user