UNPKG

pbkdf2-wrapper

Version:

A wrapper around the inbuilt pbkdf2 crypto function for password hashing

10 lines (8 loc) 154 B
const defaultConfig = { encoding: 'hex', digest: 'sha256', hashBytes: 32, saltBytes: 16, iterations: 372791 }; module.exports = defaultConfig;