Skip to content

nhahn/organic_hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Organic Hash

Converts strings to awesome scifi objects!!

Organic Hash hashes strings (user ID, hashes) to a human-readable, scifi-themed representation.

Demo

http://truly-civilized-pancakes.herokuapp.com

Install

$ npm install organic_hash --save 

Usage

Basic usage

var organicHash = require('organic_hash')();
organicHash.hash('ID_A3AHG7FKPIV07')
// "clearly-mongoloid-pressure"

organicHash.hash('asldkjasldkjasdlkajsd')
// 'technically-common-device' 

organicHash.hash('nhahn')
// 'dangerously-successful-gun' 

Different length

var organicHash = require('organic_hash')(4);
organicHash.hash('Zero')
// 'slowly-regular-personally-hibernation'

Random hashes

var organicHash = require('organic_hash')();
organicHash.rand();
// 'purposefully-weak-neurotoxin'

Authors

Nathan Hahn [email protected] ported the library to Javascript Joseph Chee Chang [email protected] and Zero Cho [email protected]

License

Apache License, Version 2.0

URL

https://github.com/nhahn/organic_hash

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published