derived_key library Null safety

Classes

DerivedKey
An encryption key derived from a user-entered string using an algorithm such as Pbkdf2

Functions

deriveKeyWithSerializedOptions(String passphrase, String serializedDerivationArtefacts) Future<DerivedKey>
Provided a user-entered passphrase and artifacts serialized in cryppo's serialization format, derive the data encryption key.
deriveNewKeyFromString(String passphrase, DerivationStrategy strategy) Future<DerivedKey>
Provided a user-entered passphrase and a key derivation strategy, derive a data encryption key with randomly generated derivation artefacts. The key and artefacts can be serialized for transfer over the wire and storage.