class Argon2::Password
def hash(pass)
def hash(pass) Argon2::Engine.hash_argon2i_encode( pass, @salt, @t_cost, @m_cost) end
def initialize(options = {})
def initialize(options = {}) #TODO: Verify inputs @t_cost = options[:t_cost] || 2 @m_cost = options[:m_cost] || 16 @salt = options[:salt_do_not_supply] || Engine.saltgen end