Security News
Highlights from the 2024 Rails Community Survey
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
@sensu/couch-pwd
Advanced tools
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
CouchDB salt and password generation with PBKDF2
The npm package @sensu/couch-pwd receives a total of 105 weekly downloads. As such, @sensu/couch-pwd popularity was classified as not popular.
We found that @sensu/couch-pwd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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 record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.