@namesmt/aes-gcm
v0.1.3
Published
Dead simple cross-platform AES-GCM encryption util package.
Downloads
66
Maintainers
Readme
@namesmt/aes-gcm
@namesmt/aes-gcm is a dead simple cross-platform AES-GCM encryption util package.
Features
- [x] TypeScript ready!
Usage
Install package:
# npm
npm install @namesmt/aes-gcm
# yarn
yarn add @namesmt/aes-gcm
# pnpm (recommended)
pnpm install @namesmt/aes-gcm
Import:
// ESM
import { decrypt, encrypt } from '@namesmt/aes-gcm'
const plaintext = 'Hello, world!'
const password = 'pw'
const encrypted = await encrypt(plaintext, password)
const decrypted = await decrypt(encrypted, password)
Roadmap
- [ ] Become the legendary 10000x developer