newCipherWand method

Future<CipherWand> newCipherWand()

Constructs a CipherWand that uses this implementation and a new random secret key (that can't be extracted).

Implementation

Future<CipherWand> newCipherWand() async {
  final secretKey = await newSecretKey();
  return newCipherWandFromSecretKey(secretKey);
}