Skip to main content
Module

x/iron/mod.ts>SealOptions

A cryptographic utility for sealing a JSON object using symmetric key encryption with message integrity verification.
Latest
interface SealOptions
import { type SealOptions } from "https://deno.land/x/iron@v1.2.1/mod.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.