Encrypt & Decrypt using AES-GCM 256 on iOS using CryptoKit
npm install capacitor-crypto-aes-gcm
npx cap sync
encrypt(options: { text: string; base64Encoded: string; encodedIV?: string; }) => any
Param | Type |
---|---|
options |
{ text: string; base64Encoded: string; encodedIV?: string; } |
Returns: any
decrypt(options: { text: string; base64Encoded: string; encodedIV?: string; }) => any
Param | Type |
---|---|
options |
{ text: string; base64Encoded: string; encodedIV?: string; } |
Returns: any
generateSymmetricKey() => any
Returns: any
generateIV() => any
Returns: any