sha.js
Streamable SHA1 hash in pure javascript.
![testling badge](https://ci.testling.com/dominictarr/sha.js.png)
Example
var Sha1 = require('sha.js')
var h = new Sha1().update('abc', 'utf8').digest('hex')
console.log(h)
Note
Note, this doesn't actually implement a stream, but wrapping this in a stream is trivial.
but is does update incrementally, so you can hash things larger than ram, and also, since it reuses
the typedarrays, it uses a constant amount of memory (except when using base64 or utf8 encoding,
see code comments)
Acknowledgements
This work is derived from Paul Johnston's ["A JavaScript implementation of the Secure Hash Algorithm"]
(http://pajhome.org.uk/crypt/md5/sha1.html)
TODO
(and any other similar hashes that are close to this model)
License
MIT