EncryptionArtefacts class Null safety

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

Constructors

EncryptionArtefacts({required List<int> salt, required List<int> authTag, required List<int> authData})
Storage for artifacts generated during encrypted (or provided in encryptWithKeyAndArtefacts)
EncryptionArtefacts.empty()
EncryptionArtefacts.fromSerialized(String serialized)
Create new encryption artefacts from Cryppo's artifact serialized/encrypted format (this is the third part of the serialized string)

Properties

authData List<int>
read / write
authTag List<int>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
nonce List<int>
The salt in a format understood by the cryptography library
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
salt List<int>
read / write
version String
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
serialize() String
Convert artefacts to a format that can be used in Cryppo's encryption serialization format
toString() String
Serializes the artefacts
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited