File size: 246 Bytes
3e21b19
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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