# generatehash

> Generate a random hash. Supports MD5, SHA1, SHA256, and SHA512.

Latest version **1.0.2** (published 2020-12-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install generatehash
pnpm add generatehash
yarn add generatehash
bun add generatehash
```

## 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.2 |
| Published | 2020-12-15 |
| First published | 2020-12-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | pupppy44 |
| Keywords | hash, random, sha1, md5, sha256, sha512 |

## Links

- npm: https://www.npmjs.com/package/generatehash
- Homepage: https://github.com/Pupppy44/generatehash
- npm.io page: https://npm.io/package/generatehash

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2020-12-15
- 1.0.1 — 2020-12-15
- 1.0.0 — 2020-12-15

## README

# generatehash
Generate random hashes. Supports `MD5`, `SHA1`, `SHA256`, and `SHA512`.

## Usage
### SHA1
```js
const genhash =  require("generatehash");
genhash("sha1") // a random sha1 hash
```
### MD5
```js
const genhash =  require("generatehash");
genhash("md5") // a random md5 hash
```
### SHA256
```js
const genhash =  require("generatehash");
genhash("sha256") // a random sha256 hash
```
### SHA512
```js
const genhash =  require("generatehash");
genhash("sha512") // a random sha512 hash
```

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