argon2 library

Argon2id cryptography wrappers and parametrization.

https://datatracker.ietf.org/doc/html/rfc9106

Functions

key({required Uint8List password, required Uint8List salt, int time = 3, int memory = 65536, int threads = 4, int length = 32}) Uint8List
Derives a key from the password, salt, and cost parameters using Argon2id returning a byte array that can be used as a cryptographic key. The CPU cost and parallelism degree must be greater than zero.