node package manager
Easy collaboration. Discover, share, and reuse code in your team. 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));