class Argon2::Password

def self.verify_password(pass, hash, secret = nil)

def self.verify_password(pass, hash, secret = nil)
  raise ArgonHashFail, "Invalid hash" unless
    /^\$argon2i\$.{,110}/.match hash
  Argon2::Engine.argon2i_verify(pass, hash, secret)
end