keksAccountGUI/node_modulesOLD/create-hash
Kekskurse 8e5ce9e324 Update Framework 2019-08-11 20:48:02 +02:00
..
.travis.yml Update Framework 2019-08-11 20:48:02 +02:00
LICENSE Update Framework 2019-08-11 20:48:02 +02:00
README.md Update Framework 2019-08-11 20:48:02 +02:00
browser.js Update Framework 2019-08-11 20:48:02 +02:00
index.js Update Framework 2019-08-11 20:48:02 +02:00
md5.js Update Framework 2019-08-11 20:48:02 +02:00
package.json Update Framework 2019-08-11 20:48:02 +02:00
test.js Update Framework 2019-08-11 20:48:02 +02:00

README.md

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')