49140c5a278698fac4533667e560d2982d5d65d757eb552fcca64ad18879a02efad8bc6f15aec51e198970df71543fc6f136eae46e24ff4a51a8810f752198 691 B

12345678910111213141516171819
  1. create-hash
  2. ===
  3. [![Build Status](https://travis-ci.org/crypto-browserify/createHash.svg)](https://travis-ci.org/crypto-browserify/createHash)
  4. Node style hashes for use in the browser, with native hash functions in node. Api is the same as hashes in node:
  5. ```js
  6. var createHash = require('create-hash');
  7. var hash = createHash('sha224');
  8. hash.update('synchronous write'); //optional encoding parameter
  9. hash.digest();// synchronously get result with optional encoding parameter
  10. hash.write('write to it as a stream');
  11. hash.end();//remember it's a stream
  12. hash.read();//only if you ended it as a stream though
  13. ```
  14. To get the JavaScript version even in node do `require('create-hash/browser');`