generateKeyPair method

  1. @override
Future<String> generateKeyPair()
override

Implementation

@override
Future<String> generateKeyPair() async {
  _isInitialized();
  final keyPair = await utils.generateKeyPair();
  return _setPrivateKey(keyPair.publicKey, keyPair.privateKey);
}