Salt for SHA1 hashes
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE
README.md
package.json
ssha.js

README.md

Salt for SHA1 hashes

OpenLDAP style. See http://www.openldap.org/faq/data/cache/347.html

Installation

npm install ssha

Usage

assert = require("assert");
ssha = require("ssha");

var hash = ssha.create("secret");
assert(ssha.verify("secret", hash));