a Node version of php's password_hash
npm install password_hashjavascript
password_hash().salt([Optional] saltSize);
`
saltSize: number of bytes (optional, default=16)$3
`javascript
password_hash(password).hash(salt, [Optional] iterations, [Optional] keylen);
`
password: plaintext password to hashsalt: salt to use for hashiterations: number of iterations to hash (optional, default=1000)keylen: number of bytes (optional, default=64)$3
`javascript
password_hash(password).verify(pack);
`
password: plaintext password to verifypack: the hashed password and info returned from .hash(...);`