0.0.2 • Published 4 years ago

capacitor-crypto-aes-gcm v0.0.2

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

capacitor-crypto-aes-gcm

Encrypt & Decrypt using AES-GCM 256 on iOS using CryptoKit

Install

npm install capacitor-crypto-aes-gcm
npx cap sync

API

encrypt(...)

encrypt(options: { text: string; base64Encoded: string; }) => any
ParamType
options{ text: string; base64Encoded: string; }

Returns: any


decrypt(...)

decrypt(options: { text: string; base64Encoded: string; }) => any
ParamType
options{ text: string; base64Encoded: string; }

Returns: any


generateSymmetricKey()

generateSymmetricKey() => any

Returns: any