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 #️⃣
- Host: GitHub
- URL: https://github.com/malaa-tech/react-native-simple-bcrypt
- Owner: Malaa-tech
- License: mit
- Created: 2023-08-29T21:23:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-02T13:06:39.000Z (about 1 year ago)
- Last Synced: 2024-05-03T00:53:13.600Z (about 1 year ago)
- Topics: android, bcrypt, ios, react-native
- Language: Java
- Homepage:
- Size: 661 KB
- Stars: 7
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
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)