class Scrypt::Password

Defined in:

password.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(raw_hash : String) #

[View source]

Class Method Detail

def self.create(password, key_len = DEFAULT_KEY_LEN, salt_size = DEFAULT_SALT_SIZE, max_mem = DEFAULT_MAX_MEM, max_memfrac = DEFAULT_MAX_MEMFRAC, max_time = DEFAULT_MAX_TIME) #

[View source]

Instance Method Detail

def ==(password : String) #

DEPRECATED Use Scrypt::Password#verify instead


[View source]
def cost #

[View source]
def digest #

[View source]
def inspect(io) #

[View source]
def salt #

[View source]
def to_s(io) #

[View source]
def verify(password : String) #

[View source]