ncb000gt / js-hashing

A JS tool to hash strings.

This URL has Read+Write access

name age message
directory Global/ Loading commit data...
file README.md
directory lib/
README.md

js-hashing

js-hashing is a tool for hasing strings with JS. As of now this is tightly coupled with Rhino because it relies on some Java code. The goal is to eventually rewrite the Java parts in JS.

Usage

var salt = hash.generate_salt();

var hash = hash.to_base64(hash.encode('some string to be hashed', salt, 1000, 'SHA-256'));