react-native-simple-bcrypt
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

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

Package Sidebar

Install

npm i react-native-simple-bcrypt

Weekly Downloads

35

Version

0.3.0

License

MIT

Unpacked Size

47.9 kB

Total Files

24

Last publish

Collaborators

  • alfayez-dev
  • mzaien
  • wadhahessam
  • malaa_admins