withNonce method

SecretBox withNonce(
  1. Uint8List nonce
)

Implementation

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