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