DerivationArtefacts class Null safety

Derivation Artefacts from a key derivation strategy (such as Pbkdf2)


DerivationArtefacts({required String version, required List<int> salt, required int iterations, required int length, required DerivationStrategy strategy})
DerivationArtefacts.fromSerialized(String serialized)
Serialize the artefacts in Cryppo's artefact serialization format (serialize) to be appended onto a serialized encrypted string
DerivationArtefacts.generate({dynamic minIterations = 20000, dynamic defaultLength = 32, dynamic iterationVariance = 10, dynamic strategy = DerivationStrategy.pbkdf2Hmac})
Randomly generate new key derivation artefacts


hashCode int
The hash code for this object. [...]
read-only, inherited
iterations int
read / write
length int
Length in bytes
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
salt List<int>
read / write
strategy DerivationStrategy
read / write
version String
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
serialize() String
Convert arteacts into Cryppo's artefact serialization format. Can be reloaded with DerivationArtefacts.fromSerialized
toString() String
Serializes the artifacts with serialize


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