
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
credential-plus-argon2
Advanced tools
DEPRECATED!!! USE upash INSTEAD
$ npm install --save credential-plus-argon2
const credential = require('credential-plus');
credential.install(require('credential-plus-argon2'));
// Hash and verify with argon2 and default configs
credential.hash('We are all unicorns', {func: 'argon2'})
.then(hash) => {
console.log(hash);
//=> {"hash":"$argon2d$v=19$m=4096,t=3,p=1$i5VhaDYfYqSWWoG1uKVBbw$QHpzhFRYJZwIcogtSciXh0hbc8f91PyGBdtWSNocuiE","func":"argon2"}
credential.verify(hash, 'We are all unicorns')
.then(match) => {
console.log(match);
//=> true
});
});
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
Argon2 password hashing function for credential-plus
The npm package credential-plus-argon2 receives a total of 6 weekly downloads. As such, credential-plus-argon2 popularity was classified as not popular.
We found that credential-plus-argon2 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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.