You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
David Whitlock edited this page Mar 6, 2019
·
1 revision
To implement the Comeonin and Comeonin.PasswordHash behaviours, create
a module that use-s Comeonin and defines the hash_pwd_salt/2 and verify_pass/2 functions.
To test the implementation, use the helper functions in the Comeonin.BehaviourTestHelper
module.
For an example implementation, see the lib/legacy_pbkdf2.ex and test/legacy_pbkdf2_test.exs
files in LegacyPbkdf2.