module Scrypt::Engine

Defined in:

engine.cr

Class Method Summary

Class Method Detail

def self.calibrate(max_mem = DEFAULT_MAX_MEM, max_memfrac = DEFAULT_MAX_MEMFRAC, max_time = DEFAULT_MAX_TIME) #

[View source]
def self.crypto_scrypt(secret, salt, n, r, p, key_len) #

[View source]
def self.generate_salt(salt_size = DEFAULT_SALT_SIZE) #

[View source]
def self.hash_secret(secret, salt, key_len = DEFAULT_KEY_LEN, max_mem = DEFAULT_MAX_MEM, max_memfrac = DEFAULT_MAX_MEMFRAC, max_time = DEFAULT_MAX_TIME, cost = nil) #

[View source]