Skip to content

opinsys/node-ssha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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