Skip to main content
Module

x/iron/mod.ts>algorithms

A cryptographic utility for sealing a JSON object using symmetric key encryption with message integrity verification.
Go to Latest
variable algorithms
import { algorithms } from "https://deno.land/x/iron@v1.1.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"; }; }