🛡 BCrypt 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-bcrypt
Usage
const credential = ;credential; // Hash and verify with bcrypt and default configscredentialhash'We are all unicorns' func: 'bcrypt' console; //=> {"hash":"$2a$10$fxxhS75tSP7sP/8UNNJs8uspHSfusSCafU.EhTsn15ENdm/9n3IQe","func":"bcrypt"} 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.