hashers
All password hashing algorithms for Django implemented in javascript for nodejs projects.
Supported Algorithms
- PBKDF2PasswordHasher
- PBKDF2SHA1PasswordHasher
- BCryptSHA256PasswordHasher
- BCryptPasswordHasher
- SHA1PasswordHasher
- MD5PasswordHasher
- UnsaltedSHA1PasswordHasher
- UnsaltedMD5PasswordHasher
- CryptPasswordHasher
Usage
var h = ;var hash1 = h;console; // returns trueconsole; // returns false
Installation
npm install hashers
Similar approach to the above code sample can be used for all the other algorithms.