newCipherWandFromSecretKey method
Constructs a CipherWand that uses this implementation and the given SecretKey.
Implementation
Future<CipherWand> newCipherWandFromSecretKey(
SecretKey secretKey, {
bool allowEncrypt = true,
bool allowDecrypt = true,
}) async {
return _CipherWand(
this,
secretKey,
allowEncrypt: allowEncrypt,
allowDecrypt: allowDecrypt,
);
}