A lightweight AES-GCM encryption library for the browser.
npm install @cyberadityacode/simple-aes-gcmA simple, lightweight wrapper for the Web Crypto API. Intended for Browser/Web Crypto API environments
https://www.npmjs.com/package/@cyberadityacode/simple-aes-gcm
``bash`
npm i @cyberadityacode/simple-aes-gcm
`javascript
import { deriveKey, encrypt, decrypt } from "simple-aes-gcm";
const key = await deriveKey("my-password", "unique-salt");
const encrypted = await encrypt("Hello World", key);
const originalText = await decrypt(encrypted, key);
``
Aditya Dubey
(cyberadityacode)