Generate a salt suitable for hashing passwords.
Hash a password with a salt. Returns the hash as a ubyte[].
Create a string that can be used to store a password safely. It includes the hash, the salt, and information about the CPU and memory limits used to compute it.
Verify a password with a hash and salt
Verify a password against a storage string obtained from passwordStorageString
Password hashing config suitable for interactive use.
Password hashing config suitable for highly sensitive data
Struct containing configuration for password hashing. Specifically the parameters to control the amount of CPU and memory required.