# md5-hex-work

> Create a MD5 hash with hex encoding

Latest version **2.0.0** (published 2017-04-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install md5-hex-work
pnpm add md5-hex-work
yarn add md5-hex-work
bun add md5-hex-work
```

## 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 | 2.0.0 |
| Published | 2017-04-13 |
| First published | 2017-04-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sindre Sorhus |
| Maintainers | fjshadows |
| Keywords | hash, crypto, md5, hex, buffer, browser, browserify |

## Links

- npm: https://www.npmjs.com/package/md5-hex-work
- Repository: https://github.com/fjshadows/md5-hex
- Homepage: https://github.com/fjshadows/md5-hex#readme
- Issues: https://github.com/fjshadows/md5-hex/issues
- npm.io page: https://npm.io/package/md5-hex-work

## Dependencies (1)

- [md5-o-matic](https://npm.io/package/md5-o-matic.md) ^0.1.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

- 2.0.0 (latest) — 2017-04-13

## README

# md5-hex [![Build Status](https://travis-ci.org/sindresorhus/md5-hex.svg?branch=master)](https://travis-ci.org/sindresorhus/md5-hex)

> Create a MD5 hash with hex encoding

*Please don't use MD5 hashes for anything sensitive!*

Works in the browser too, when used with browserify/webpack.

Checkout [`hasha`](https://github.com/sindresorhus/hasha) if you need something more flexible.


## Install

```
$ npm install --save md5-hex-work
```


## Usage

```js
const fs = require('fs');
const md5Hex = require('md5-hex');
const buffer = fs.readFileSync('unicorn.png');

md5Hex(buffer);
//=> '1abcb33beeb811dca15f0ac3e47b88d9'
```


## API

### md5Hex(input)

#### input

Type: `Buffer` `string` `Buffer[]` `string[]`

Prefer buffers as they're faster to hash, but strings can be useful for small things.

Pass an array instead of concatenating strings and/or buffers. The output is the same, but arrays do not incur the overhead of concatenation.


## License

MIT © [Sindre Sorhus](https://sindresorhus.com)

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