Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
wipe_to_password s
copies a password s
from storage
and wipes s
.
val hash_password : difficulty -> password -> storage
hash_password d pw
uses the key derivation algorithm to create a safely storable hash of the password of size password_hash_size
. It randomly generates a salt, and stores the result of the derivation, along with the salt and parameters d
, so that verify_password
can later verify the hash.