hapijs / iron

Encapsulated tokens (encrypted and mac'ed objects)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iron / crypto

pmoon777 opened this issue · comments

iron original line missing digest argument?

Crypto.pbkdf2(password, salt, options.iterations, algorithm.keyBits / 8, (err, derivedKey) => {

Changed to this to make it work:

Crypto.pbkdf2(password, salt, options.iterations, algorithm.keyBits / 8, 'sha512',(err, derivedKey) => {

Please confirm if this is not correct. Thanks

No it's not.

commented

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.