sha1-digest
A simple, cross-platform streaming sha1 digest.
Usage is very simple and should work the same in both node.js and browser versions.
var sha1sum = ; // Update accepts either binary objects or strings.// The strings will be encoded as UTF8 bytes.sha1sum;sha1sum; var hex = sha1sum;