class Argon2::Password

Defined in:

crystal-argon2.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(t_cost : Int32 = 2, m_cost : Int32 = 16) #

[View source]

Class Method Detail

def self.create(password : String) #

[View source]
def self.verify_password(password : String, hash : String, engine_type : Engine::EngineType = Engine::EngineType::ARGON2I) #

[View source]

Instance Method Detail

def create(password : String, engine_type : Engine::EngineType = Engine::EngineType::ARGON2I) #

[View source]