EncryptionArtefacts constructor

EncryptionArtefacts({
  1. required List<int> salt,
  2. required List<int> authTag,
  3. required List<int> authData,
})

Storage for artifacts generated during encrypted (or provided in encryptWithKeyAndArtefacts)

Implementation

EncryptionArtefacts(
    {required this.salt, required this.authTag, required this.authData}) {
  // WARNING: Should we put a default version here if no version is supplied?
  version = 'A';
}