$ cnpm install shasum
Single function that return the sha1sum. Installing this is just a little bit quicker than reading the crypto documentation.
var shasum = require('shasum')
shasum(string || buffer || object)
Oh yeah, it works in the browser too, with browserify
MIT
Copyright 2013 - present © cnpmjs.org | Home |