module Scrypt::Engine
Defined in:
engine.crClass Method Summary
- .calibrate(max_mem = DEFAULT_MAX_MEM, max_memfrac = DEFAULT_MAX_MEMFRAC, max_time = DEFAULT_MAX_TIME)
- .crypto_scrypt(secret, salt, n, r, p, key_len)
- .generate_salt(salt_size = DEFAULT_SALT_SIZE)
- .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)
Class Method Detail
def self.calibrate(max_mem = DEFAULT_MAX_MEM, max_memfrac = DEFAULT_MAX_MEMFRAC, max_time = DEFAULT_MAX_TIME)
#
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)
#