# sha-1

> This is a SHA-1 hash generator by JavaScript.

Latest version **1.0.0** (published 2020-07-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install sha-1
pnpm add sha-1
yarn add sha-1
bun add sha-1
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-07-01 |
| First published | 2013-12-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 20.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Hsun |
| Maintainers | linkgod |
| Keywords | SHA-1, sha1, hash, encryption |

## Links

- npm: https://www.npmjs.com/package/sha-1
- Repository: https://github.com/linkgod/SHA-1
- Homepage: https://github.com/linkgod/SHA-1#readme
- Issues: https://github.com/linkgod/SHA-1/issues
- npm.io page: https://npm.io/package/sha-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.0.0 (latest) — 2020-07-01
- 1.0.0-beta.0 (beta) — 2020-07-01
- 0.1.1 — 2013-12-06
- 0.1.0 — 2013-12-05

## README

# SHA-1

[![npm](https://img.shields.io/npm/dm/sha-1?style=flat-square)](https://npmcharts.com/compare/sha-1?minimal=true) [![npm](https://img.shields.io/npm/v/sha-1?style=flat-square)](https://www.npmjs.com/package/sha-1) [![NPM](https://img.shields.io/npm/l/sha-1?style=flat-square)](https://www.npmjs.com/package/sha-1)

This is a SHA-1 hash generator by JavaScript.

## Live Demo

For a live demo, visit: [https://linkgod.github.io/SHA-1/](https://linkgod.github.io/SHA-1/)

## Get started

You can use the package in Node

```
$ npm install sha-1
```

```js
var sha1 = require('sha-1');
sha1('hello') // aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
```

You can also use [bower](http://bower.io/) to install the component:

```
$ bower install SHA-1
```

```js
sha1('hello') // aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
```
If you use RequireJS

```js
require(['./sha1'], function(sha1){
    sha1('hello'); // aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
});
```

## License

Licensed under [MIT](./LICENSE)

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