# crypto-hashing

> Hash functions for bitcoin and other cryptocurrencies

Latest version **1.0.0** (published 2016-03-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install crypto-hashing
pnpm add crypto-hashing
yarn add crypto-hashing
bun add crypto-hashing
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-03-30 |
| First published | 2014-01-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Maintainers | midnightlightning, sidazhang, nadav, jprichardson |
| Keywords | hash160, hash256, ripemd160, sha1, sha256, sha512, bitcoin, cryptocurrency, hash |

## Links

- npm: https://www.npmjs.com/package/crypto-hashing
- Repository: https://github.com/cryptocoinjs/crypto-hashing
- Issues: https://github.com/cryptocoinjs/crypto-hashing/issues
- npm.io page: https://npm.io/package/crypto-hashing

## Dependencies (1)

- [create-hash](https://npm.io/package/create-hash.md) ^1.1.2

## 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.0.0 (latest) — 2016-03-30
- 0.3.1 — 2014-04-19
- 0.3.0 — 2014-03-09
- 0.2.0 — 2014-02-24
- 0.1.0 — 2014-01-27

## README

# crypto-hashing

[![NPM Package](https://img.shields.io/npm/v/crypto-hashing.svg?style=flat-square)](https://www.npmjs.org/package/crypto-hashing)
[![Build Status](https://img.shields.io/travis/cryptocoinjs/crypto-hashing.svg?branch=master&style=flat-square)](https://travis-ci.org/cryptocoinjs/crypto-hashing)
[![Dependency status](https://img.shields.io/david/cryptocoinjs/crypto-hashing.svg?style=flat-square)](https://david-dm.org/cryptocoinjs/crypto-hashing#info=dependencies)

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

###### Available functions:

In addition to functions from [crypto-browserify/createHash](https://github.com/crypto-browserify/createHash):
- hash160 (sha256 and then ripemd160)
- hash256 (sha256 twice)

###### Example

```js
var cryptoHash = require('crypto-hashing')
var buffer = new Buffer('Hello there!')
console.log(cryptoHash('hash256', buffer).toString('hex'))
// e365181d0a42d3f57906af24c80d4636158455d140734c85e80609fa7d100300
```

## License

MIT

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