Standard and secure cryptographic algorithms for browser
(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 <firstname.lastname@example.org>
The MIT License
It’s never been easier to manage developer teams with varying permissions and multiple projects. Learn more about Private Packages and Organizations…
how? learn more