DerivationArtefacts class

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

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
iterations int
getter/setter pair
length int
Length in bytes
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
salt List<int>
getter/setter pair
strategy DerivationStrategy
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 arteacts into Cryppo's artefact serialization format. Can be reloaded with DerivationArtefacts.fromSerialized
toString() String
Serializes the artifacts with serialize
override

Operators

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