password_hasing library

Classes

MemLimit
OpsLimit

Functions

store(Uint8List passwd, int opslimit int memlimit) → Uint8List
Produces strong password hashes with the Argon2 function, ready for storage. It also handles salting. Sensible values for opslimit and memlimit can be found in the abstract classes OpsLimit and MemLimit. [...]
verify(Uint8List hash Uint8List passwd) → bool
Verifys passwd with its hash generated by storage.