# create-hash

> create hashes for browserify

Latest version **1.2.0** (published 2018-04-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install create-hash
pnpm add create-hash
yarn add create-hash
bun add create-hash
```

## Health

**Score 33/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2018-04-11 |
| First published | 2015-01-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/create-hash) |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 53 |
| Maintainers | cwmma, dcousens, dominictarr, indutny, jprichardson |
| Keywords | crypto |

## Links

- npm: https://www.npmjs.com/package/create-hash
- Repository: https://github.com/crypto-browserify/createHash
- Issues: https://github.com/crypto-browserify/createHash/issues
- npm.io page: https://npm.io/package/create-hash

## Dependencies (5)

- [md5.js](https://npm.io/package/md5.js.md) ^1.3.4
- [sha.js](https://npm.io/package/sha.js.md) ^2.4.0
- [inherits](https://npm.io/package/inherits.md) ^2.0.1
- [ripemd160](https://npm.io/package/ripemd160.md) ^2.0.1
- [cipher-base](https://npm.io/package/cipher-base.md) ^1.0.1

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2018-04-11
- 1.1.3 — 2017-05-11
- 1.1.2 — 2015-09-27
- 1.1.1 — 2015-03-18
- 1.1.0 — 2015-01-16
- 1.0.2 — 2015-01-14
- 1.0.1 — 2015-01-14
- 1.0.0 — 2015-01-14

## README

# create-hash

[![Build Status](https://travis-ci.org/crypto-browserify/createHash.svg)](https://travis-ci.org/crypto-browserify/createHash)

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

API is the same as hashes in node:
```js
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')`

---
_Source: https://npm.io/package/create-hash · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
