the length of the output string containing your hashed password from scrypt. Reccomended value is 90. Note, the actual output won't be 90 since it's a sha1 digest N: General work factor, iteration count. Must be power of two. Recommended value for passwords: 2^14 and 2^20 for sensitive stuff r: Blocksize for underlying hash. Reccommended value is 8 p: parallelization factor. Reccomended value is 1 If you want to you can use SCRYPT_N_DEFAULT, SCRYPT_R_DEFAULT, SCRYPT_P_DEFAULT, SCRYPT_OUTPUTLEN_DEFAULT as default params
Some info regarding the params password: The password you want to hash, for example "my password" salt: The salt you want to use when hashing your password, for example generateRandomSalt();