0.3.0 • Published 8 months ago

react-native-simple-bcrypt v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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

0.3.0

8 months ago

0.2.0

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago