🛡 SCrypt password hashing function for credential-plus.
If you find a security flaw in this code, PLEASE report it.
DEPRECATED!!! USE upash INSTEAD
Install
$ npm install --save credential-plus-scrypt
Usage
const credential = ;credential; // Hash and verify with scrypt and default configscredentialhash'We are all unicorns' func: 'scrypt' console; //=> {"hash":"c2NyeXB0AA8AAAAIAAAAAdZuQumEF/m0V747VleWqvYZKhjOgXgQGtIsgOmLQwwc6KZuU2t1uEkqs9tABwGZyFHdCGkSxzpBLtMgx6UVtKwfcuRGKM2uGu1FvJt8avmU","func":"scrypt"} credential console; //=> true ); );
Authors
- Simone Primarosa - simonepri
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE file for details.