RsaKeyPair: Use the recommended size of 4096

This commit is contained in:
Vishesh Handa
2020-11-15 00:33:42 +01:00
parent c5a999988f
commit b9e81b7ae7

View File

@ -44,7 +44,7 @@ class RsaKeyPair {
}
RsaKeyPair.generate() {
var keyPair = RSAKeypair.fromRandom();
var keyPair = RSAKeypair.fromRandom(keySize: 4096);
publicKey = keyPair.publicKey;
privateKey = keyPair.privateKey;