pbkdf2 icon indicating copy to clipboard operation
pbkdf2 copied to clipboard

pbkdf2.pbkdf2Sync('password', 'salt', 1, 32, 'sha512') returns array not string

Open smaldd14 opened this issue 5 years ago • 1 comments

How can I return the derivedKey as a hex string?

smaldd14 avatar Jun 12 '20 20:06 smaldd14

pbkdf2.pbkdf2Sync('password', 'salt', 1, 32, 'sha512').toString('hex')

calvinmetcalf avatar Jun 15 '20 13:06 calvinmetcalf