File: README.md

package info (click to toggle)
node-shasum 1.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 104 kB
  • sloc: sh: 13; makefile: 11
file content (15 lines) | stat: -rw-r--r-- 325 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# shasum

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

``` js
var shasum = require('shasum')
shasum(string || buffer || object)
```

Oh yeah, it works in the browser too, with [browserify](https://npmjs.org/package/browserify)

## License

MIT