This package is a CommonJS version of the @adonisjs/hash
package, originally written in pure ESM. It is a driver-based hashing library that includes argon2
, bcrypt
, and scrypt
drivers. The generated hash from all the drivers are formatted using the PHC string format. This version has been converted to CommonJS to be compatible with projects using that module system.
The original documentation for @adonisjs/hash
is available on the AdonisJS website. Please note that this version of the package has been modified for CommonJS compatibility.
Contributions to this fork are welcome. Please read the contribution guide before contributing.
In order to ensure that our community is welcoming to all, please review and abide by the Code of Conduct.
This fork of @adonisjs/hash
is open-sourced software licensed under the MIT license.