create-hash
create hashes for browserify
Last updated 3 years ago by cwmma .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install create-hash 
SYNC missed versions from official npm registry.

create-hash

Build Status

Node style hashes for use in the browser, with native hash functions in node.

API is the same as hashes in node:

var createHash = require('create-hash')
var hash = createHash('sha224')
hash.update('synchronous write') // optional encoding parameter
hash.digest() // synchronously get result with optional encoding parameter

hash.write('write to it as a stream')
hash.end() // remember it's a stream
hash.read() // only if you ended it as a stream though

To get the JavaScript version even in node do require('create-hash/browser')

Current Tags

  • 1.2.0                                ...           latest (3 years ago)

8 Versions

  • 1.2.0                                ...           3 years ago
  • 1.1.3                                ...           4 years ago
  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           6 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.2                                ...           6 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Downloads
Today 695
This Week 35,687
This Month 695
Last Day 34,992
Last Week 197,902
Last Month 814,885
Dependencies (5)
Dev Dependencies (5)
Dependents (903)

Copyright 2014 - 2016 © taobao.org |