Argon2Hasher

constructor(saltLength: Int = DEFAULT_SALT_LENGTH, hashLength: Int = DEFAULT_HASH_LENGTH, parallelism: Int = DEFAULT_PARALLELISM, memory: Int = DEFAULT_MEMORY, iterations: Int = DEFAULT_ITERATIONS)

Parameters

saltLength

Length in bytes of the randomly generated salt

hashLength

Length in bytes of the generated hash

parallelism

Number of lanes used by the algorithm

memory

Amount of memory in kibibytes used by the algorithm

iterations

Number of passes over the memory