sha-lite

Standard and secure cryptographic algorithms for browser

npm install sha-lite
8 downloads in the last week
16 downloads in the last month

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>

<script>
var hash = "secret".sha1()
</script>

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")

Licence

Copyright (c) 2012 Lauri Rooden <lauri@rooden.ee>
The MIT License

npm loves you