sha1-digest
A simple, cross-platform streaming sha1 digest.
Last updated 13 years ago by creationix .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sha1-digest 
SYNC missed versions from official npm registry.

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 = require('sha1-digest')();

// Update accepts either binary objects or strings.
// The strings will be encoded as UTF8 bytes.
sha1sum.update("Hello ");
sha1sum.update("World\n");

var hex = sha1sum.digest();

Current Tags

  • 0.0.1                                ...           latest (13 years ago)

1 Versions

  • 0.0.1                                ...           13 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |