Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/iron/mod.ts>algorithms

A cryptographic utility for sealing a JSON object using symmetric key encryption with message integrity verification.
Latest
variable algorithms
import { algorithms } from "https://deno.land/x/iron@v1.2.1/mod.ts";

Configuration of each supported algorithm.

type

{ readonly aes-128-ctr: { readonly keyBits: 128; readonly ivBits: 128; readonly name: "AES-CTR"; }; readonly aes-256-cbc: { readonly keyBits: 256; readonly ivBits: 128; readonly name: "AES-CBC"; }; readonly sha256: { readonly keyBits: 256; readonly name: "SHA-256"; }; }