# react-native-hashing

> A hashing library for react native written in C++ and JSI

Latest version **0.1.5** (published 2022-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-hashing
pnpm add react-native-hashing
yarn add react-native-hashing
bun add react-native-hashing
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2022-03-26 |
| First published | 2022-02-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 211.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 20 |
| Maintainers | matinzd, nasirimehr |
| Keywords | react-native, ios, android, hashing, jsi, cpp |

## Links

- npm: https://www.npmjs.com/package/react-native-hashing
- Repository: https://github.com/TheRogue76/react-native-hashing
- Homepage: https://github.com/TheRogue76/react-native-hashing#readme
- Issues: https://github.com/TheRogue76/react-native-hashing/issues
- npm.io page: https://npm.io/package/react-native-hashing

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.5 (latest) — 2022-03-26
- 0.1.4 — 2022-02-16
- 0.1.3 — 2022-02-15
- 0.1.2 — 2022-02-15
- 0.1.1 — 2022-02-15
- 0.1.0 — 2022-02-15

## README

<h1 align='center'>React Native Hashing</h1>

<p align="center">
  <a href="https://www.npmjs.com/package/react-native-hashing"><img src="https://img.shields.io/npm/dm/react-native-hashing.svg?style=flat-square" alt="NPM downloads"></a>
  <a href="https://www.npmjs.com/package/react-native-hashing"><img src="https://img.shields.io/npm/v/react-native-hashing.svg?style=flat-square" alt="NPM version"></a>
  <a href="/LICENSE"><img src="https://img.shields.io/npm/l/react-native-hashing.svg?style=flat-square" alt="License"></a>
</p>

[//]: # (**THIS PACKAGE IS UNDER ACTIVE DEVELOPMENT AND YOU SHOULD NOT USE IT IN PRODUCTION. IF SO, USE IT ON YOUR OWN RESPONSIBILITY.**)

A hashing library for react native written in C++ and JSI

## Installation

```sh
npm install react-native-hashing
```

or

```sh
yarn add react-native-hashing
```

## Usage

```js
import { sha256, md5, sha1, sha3 } from "react-native-hashing";

// ...

const result = sha256('Hello world');

or

const result = md5('Hello world');

or

const result = sha1('Hello world');

or

const result = sha3('Hello world');
```

## Acknowledgements

Big thanks to Stephan Brumme for the C++ implementation of the hashing algorithms. [Link to his library](https://github.com/stbrumme/hash-library)

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

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