Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
password-hasher
Advanced tools
Readme
Simplify the generation of password hashes. In addition it supports rfc2307 for usage with LDAP.
Install the module with: npm install password-hasher
var password-hasher = require('password-hasher');
// get hash
var hash = passwordhasher.createHash('ssha512', 'alice', new Buffer('83d88386463f0625', 'hex'));
// returns '21ea8a8975921163474f74e4349eb6b3185b95ada619ae6d83c16dae836eb9c07c33331bf7db8f89d609a01f6278d6e5be7c516a1748cbe87b4cfc125e1e2c9e'
// get rfc 2307 hash
var rfcHash = passwordhasher.formatRFC2307(hash)
// returns '{ssha512}IeqKiXWSEWNHT3TkNJ62sxhbla2mGa5tg8FtroNuucB8MzMb99uPidYJoB9ieNblvnxRahdIy+h7TPwSXh4snoPYg4ZGPwYl'
The following hash schemes are supported.
With salt:
ssha512
(recommended)ssha384
ssha256
ssha
smd5
Without salt:
sha512
sha384
sha256
sha
md5
PRs are welcome. Code style is checked via jshint.
Copyright (c) 2014-2015 Christoph Hartmann. Licensed under the MIT license.
FAQs
simple password hashing and ldap rfc 2307 support
The npm package password-hasher receives a total of 204 weekly downloads. As such, password-hasher popularity was classified as not popular.
We found that password-hasher 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.