Skip to main content
Module

x/iron/mod.ts>unseal

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

Verifies, decrypts, and reconstruct an iron protocol string into an object.

type

(
_crypto: _Crypto,
sealed: string,
password: Password | password.Hash,
options: SealOptions,
) => Promise<unknown>