node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

sha1sum

sha1sum

Single function that return the sha1sum. Installing this is just a little bit quicker than reading the crypto documentation.

var sha1sum = require('sha1sum')
sha1sum(string || buffer || object)

Oh yeah, it works in the browser too, with crypto-browserify

License

MIT