Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/iron/src/types.ts>GenerateKeyOptions

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

generateKey() method options.

Type Parameters

optional
Algorithm extends _Algorithm = _Algorithm
definition: Pick<SealOptionsSub<Algorithm>, "algorithm" | "iterations" | "minPasswordlength"> & { saltBits?: number | undefined; salt?: string | undefined; iv?: Uint8Array | undefined; hmac?: boolean | undefined; }