npm.io
0.0.3 • Published 12 years ago

hornshash

Licence
MIT
Version
0.0.3
Deps
0
Vulns
0
Weekly
0
Stars
1

hornshash

A Human Readable and very memorable hash generator using unsavory words. WARNING NSFW!

This is a really simple POC for a project I've been working on, all it does is take a dictionary of bad words and generates a hash with a set number of them

Usage

var hornshash=require('hornshash');
var HH= new hornshash();

var hash=HH.hash();

hornshash will also take in an options JSON object allowing you to set the number of words it will put out in the hash and the delimiter

var hornshash=require('hornshash');
var options={
              words:7, //default is 4
              delimiter:"|" //default is " "
            };
var HH=new hornshash();
var hash=HH.hash();

Keywords