Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

Malaa-tech/react-native-simple-bcrypt

Repository files navigation

⚠️ We are sorry but we are not maintaing this project anymore.

react-native-simple-bcrypt

Simple/Fast/Native Bcrypt bindings for react native

Installation

npm install react-native-simple-bcrypt 

or using yarn

yarn add react-native-simple-bcrypt 

install pods

cd ios && pod install

if in expo managed projects do a prebuild

expo prebuild

Usage

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 to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library