withNonce method
Implementation
SecretBox withNonce(Uint8List nonce) {
return SecretBox(
cipherText,
nonce: nonce,
mac: mac,
);
}
SecretBox withNonce(Uint8List nonce) {
return SecretBox(
cipherText,
nonce: nonce,
mac: mac,
);
}