View Source AshAuthentication.HashProvider behaviour (ash_authentication v3.11.15)
A behaviour providing password hashing.
Given some user input as a string, convert it into it's hashed form.
@callback simulate() :: false
Attempt to defeat timing attacks by simulating a password hash check.
See Bcrypt.no_user_verify/1 for more information.
Check if the user input matches the hash.