Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 364 Bytes


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.


var salt = hash.generate_salt();

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