An open API service indexing awesome lists of open source software.

https://github.com/malaa-tech/react-native-simple-bcrypt

Simple/Fast/Native Bcrypt bindings for react native #️⃣
https://github.com/malaa-tech/react-native-simple-bcrypt

android bcrypt ios react-native

Last synced: 7 months ago
JSON representation

Simple/Fast/Native Bcrypt bindings for react native #️⃣

Awesome Lists containing this project

README

        

# :warning: We are sorry but we are not maintaing this project anymore.

# react-native-simple-bcrypt
Simple/Fast/Native Bcrypt bindings for react native

## Installation

```sh
npm install react-native-simple-bcrypt
```

or using yarn
```sh
yarn add react-native-simple-bcrypt
```

install pods
```sh
cd ios && pod install
```

if in expo managed projects do a prebuild
```sh
expo prebuild
```

## Usage

```js
import { compare, hash } from "react-native-simple-bcrypt";

// ...

compare(plainText, hashed).then((isMatched) => {
console.log(isMatched);
});

hash(plainTextToBeHashed, rounds).then((res) => {
console.log(res);
});

```

## Contributing

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

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)