create-hash (1.1.3)

Published 2026-02-24 13:54:41 +00:00 by atheaadmin

Installation

registry=
npm install create-hash@1.1.3
"create-hash": "1.1.3"

About this package

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

Dependencies

Dependencies

ID Version
cipher-base ^1.0.1
inherits ^2.0.1
ripemd160 ^2.0.0
sha.js ^2.4.0

Development Dependencies

ID Version
hash-test-vectors ^1.3.2
standard ^5.3.1
tap-spec ^2.1.2
tape ^3.0.3

Keywords

crypto
Details
npm
2026-02-24 13:54:41 +00:00
0
MIT
3.8 KiB
Assets (1)
Versions (2) View all
1.1.3 2026-02-24
1.2.0 2026-02-24