Packages

Native Elixir wrapper for the Scrypt KDF

Current section

Files

Jump to
scrypt_elixir c_src reqs
Raw

c_src/reqs

logN > 0 && logN < 64
r * p < 2^30 (0x40000000)
dk length <=(2^32 - 1) * 32
p <= ((2^32-1) * 32) / (128 * r)
he intended output length dkLen is
the length in octets of the key to be derived ("keyLength"); it is a
positive integer less than or equal to (2^32 - 1) * 32.