function decryptWithKey
decryptWithKey(
encrypted: string,
key: CryptoKey,
): Promise<string>

Decrypt data with a symmetric key

Parameters

encrypted: string

Return Type

Promise<string>

Usage

import { decryptWithKey } from "docs/crypto.ts";