EncryptionArtefacts class
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> -
getter/setter pair
-
authTag
↔ List<
int> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
nonce
→ List<
int> -
The salt in a format understood by the cryptography library
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
salt
↔ List<
int> -
getter/setter pair
- version ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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