node package manager
Easy sharing. Manage teams and permissions with one click. 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