
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@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 330 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.