EncryptedData constructor

const EncryptedData({
  1. required Uint8List ciphertext,
  2. required Uint8List nonce,
})

Creates an EncryptedData with the ciphertext and nonce.

Implementation

const EncryptedData({required this.ciphertext, required this.nonce});