Skip to content

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

License

Notifications You must be signed in to change notification settings

cynx/capacitor-crypto-aes-gcm

Repository files navigation

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; encodedIV?: string; }) => any
Param Type
options { text: string; base64Encoded: string; encodedIV?: string; }

Returns: any


decrypt(...)

decrypt(options: { text: string; base64Encoded: string; encodedIV?: string; }) => any
Param Type
options { text: string; base64Encoded: string; encodedIV?: string; }

Returns: any


generateSymmetricKey()

generateSymmetricKey() => any

Returns: any


generateIV()

generateIV() => any

Returns: any


About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published