node package manager


@version  0.1.5
@date     2014-04-20

Standard cryptographic algorithms

Lite version of sha1, sha256, hmac, pbkdf2 writen in javascript. Download compressed (2438 bytes or 1375 bytes gzipped) or uncompressed source.

Build Status

How to use in browser

<script src=sha-lite.js></script>
var hash = "secret".sha1()
// e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4

See test.html for more examples

How to use in node.js

Although it should work in node.js, you should use native api there.

npm install sha-lite

var sha = require("sha-lite")


Copyright (c) 2012 Lauri Rooden <>
The MIT License