create-hash
create hashes for browserify
Last updated 7 years ago by cwmma .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm 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 (7 years ago)

8 Versions

  • 1.2.0                                ...           7 years ago
  • 1.1.3                                ...           8 years ago
  • 1.1.2                                ...           9 years ago
  • 1.1.1                                ...           10 years ago
  • 1.1.0                                ...           10 years ago
  • 1.0.2                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (5)

Copyright 2013 - present © cnpmjs.org | Home |