npm.io
0.1.2 • Published 5 years ago

react-native-aes-gcm-modified

Licence
MIT
Version
0.1.2
Deps
0
Size
28 kB
Vulns
0
Weekly
0

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

Keywords