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

Decrypt data with a symmetric key

Parameters

encrypted: KeyEncrypted

Return Type

Promise<string>

Usage

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