analytics / lib /plausible /auth /password.ex
Leon4gr45's picture
Upload folder using huggingface_hub
3e21b19 verified
Raw
History Blame Contribute Delete
246 Bytes
defmodule Plausible.Auth.Password do
def hash(password) do
Bcrypt.hash_pwd_salt(password)
end
def match?(password, hash) do
Bcrypt.verify_pass(password, hash)
end
def dummy_calculation do
Bcrypt.no_user_verify()
end
end