0.1.2 • Published 3 years ago
react-native-aes-gcm-modified v0.1.2
react-native-aes-gcm-modified
Enable the usage of aes gcm for your mobile application
Installation
npm install react-native-aes-gcm-modified
Usage
import AesGcmModified from "react-native-aes-gcm-modified";
Encrypt data
function encrypt(
plainText: string,
inBinary: boolean,
key: string
): Promise<EncryptedData>;
Decrypt data
function decrypt(
base64Ciphertext: string,
key: string,
isBinary: boolean
): Promise<string>;
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT