Returns the derivate password hash using pbkdf2
getting the salt from the Environment.
- Install dependencies with
npm install
- Run tests with
npm test
- Start your function locally
sf run function start -e PASSWORD_SALT="make this a random passphrase" --verbose
- Invoke your function locally
sf run function --function-url=http://localhost:8080 --payload='{"password":"test"}'