newKeyExchangeWand method

Future<KeyExchangeWand> newKeyExchangeWand()

Returns a new KeyExchangeWand that has a random KeyPair.

Implementation

Future<KeyExchangeWand> newKeyExchangeWand() async {
  final keyPair = await newKeyPair();
  return newKeyExchangeWandFromKeyPair(keyPair);
}