SCryptHasher
constructor(cpuCost: Int = DEFAULT_CPU_COST, memoryCost: Int = DEFAULT_MEMORY_COST, parallelization: Int = DEFAULT_PARALLELIZATION, keyLength: Int = DEFAULT_KEY_LENGTH, saltLength: Int = DEFAULT_SALT_LENGTH)
Parameters
cpuCost
CPU cost of the algorithm, as a power of 2 greater than 1
memoryCost
Memory cost of the algorithm
parallelization
Parallelization of the algorithm
keyLength
Length in bytes of the generated key
saltLength
Length in bytes of the randomly generated salt