node-scrypt icon indicating copy to clipboard operation
node-scrypt copied to clipboard

Wrong test vectors?

Open simonepri opened this issue 7 years ago • 2 comments

Why the parameters inside the paper's test vectors are swapped? https://tools.ietf.org/html/draft-josefsson-scrypt-kdf-00#section-11 The r and N parameters seems to be swapped.

simonepri avatar Mar 31 '18 12:03 simonepri

Ok it was just an error in the draft: The test vectors inside the RFC are correct: https://tools.ietf.org/html/rfc7914#section-12

simonepri avatar Apr 01 '18 12:04 simonepri

@barrysteyn maybe we can update the link in the readme?

simonepri avatar Apr 01 '18 13:04 simonepri