newKeyPair method
Generates a new KeyPair for this algorithm.
You can pass key generation preferences by specifying options
.
Implementation
@override
Future<SimpleKeyPair> newKeyPair() {
final seed = Uint8List(keyPairType.privateKeyLength);
fillBytesWithSecureRandom(seed);
return newKeyPairFromSeed(seed);
}