fromRandomAsync method

  1. @override
Future<RSAKeypair> fromRandomAsync({
  1. int keySize = 2048,
})
override

Generate a random RSAKeypair asynchronously

Implementation

@override
Future<RSAKeypair> fromRandomAsync({int keySize = 2048}) async =>
    Future(() => RSAKeypair.fromRandom(keySize: keySize));