
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
@qbunnyteam/couch-pwd
Advanced tools
This is a fork from zeMirco/couch-pwd. CouchDB salt and password generation with PBKDF2
Hash and compare passwords with the crypto's pbkdf2. Heavily inspired by node-pwd.
Uses the following values as defaults
The resulting salt and password Strings are the same you'd get when you save a user to CouchDB and let CouchDB do all the hashing for you.
Module has two goals
/_session
APInpm install couch-pwd
On signup generate a salt / password hash, and save it somewhere:
var pwd = require('couch-pwd');
pwd.hash('my password', function(err, salt, hash){
user.salt = salt;
user.hash = hash;
})
To authenticate load and compare:
var pwd = require('couch-pwd');
pwd.hash('submitted password', user.salt, function(err, hash){
if (user.hash == hash) {
// yay
}
})
MIT
FAQs
This is a fork from zeMirco/couch-pwd. CouchDB salt and password generation with PBKDF2
We found that @qbunnyteam/couch-pwd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.