Module minerva_data::encryption
source · [−]Expand description
This module wraps functions related to password encryption.
Functions
Check whether a given password matches a given generated hash.
Use this function for password authentication.
Generate a hash from a slice. Returns the actual bytes of
the hashing process. If the hash cannot be generated, panics.