pbkdf2
pbkdf2 copied to clipboard
pbkdf2.pbkdf2Sync('password', 'salt', 1, 32, 'sha512') returns array not string
How can I return the derivedKey as a hex string?
pbkdf2.pbkdf2Sync('password', 'salt', 1, 32, 'sha512').toString('hex')