Skip to main content
Module

x/aes_gcm/mod.ts>aesGcmEncrypt

Modern Web Browser and Deno compatible AES-GCM library written in TypeScript
Latest
variable aesGcmEncrypt
import { aesGcmEncrypt } from "https://deno.land/x/aes_gcm@v1.0.3/mod.ts";

Examples

const ciphertext = await aesGcmEncrypt('my secret text', 'strong password here')

type

(plaintext: string, password: string) => unknown