node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

ssha

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));