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

x/iron/dist/index.d.ts>SealOptions

A cryptographic utility for sealing a JSON object using symmetric key encryption with message integrity verification.
Go to Latest
interface SealOptions
import { type SealOptions } from "https://deno.land/x/iron@v1.2.0/dist/index.d.ts";

Options for customizing the key derivation algorithm used to generate encryption and integrity verification keys as well as the algorithms and salt sizes used.

Properties

Encryption step options.

Integrity step options.

ttl: number

Sealed object lifetime in milliseconds where 0 means forever. Defaults to 0.

timestampSkewSec: number

Number of seconds of permitted clock skew for incoming expirations. Defaults to 60 seconds.

localtimeOffsetMsec: number

Local clock time offset, expressed in number of milliseconds (positive or negative). Defaults to 0.