sha-lite

Standard and secure cryptographic algorithms for browser

@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.

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

See test.html for more examples

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 <lauri@rooden.ee>
The MIT License