1.0.9 • Published 2 years ago

react-native-rncryptor-base64 v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

React Native RNCryptor

It's an easy-to-use library for encrypting data with AES 256 in React Native. RNCryptor developed popular and easy-to-use AES libs, implementations are available in C++, C#, Java, PHP, Python, Javascript, and Ruby.

Getting started

$ npm install react-native-rncryptor --save

$ react-native link react-native-rncryptor

Usage

import RNCryptor from 'react-native-rncryptor';

RNCryptor.encrypt('a text', 'password').then((encryptedbase64)=>{
  console.log(encryptedbase64)
}).catch((error)=>{
  console.log(error)
})

RNCryptor.decrypt('encrypted base64', 'password').then((plaintext)=>{
  console.log(plaintext)
}).catch((error)=>{
  console.log(error)
})

License

MIT

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago