function decryptAttendeePII
decryptAttendeePII(
encrypted: string,
privateKey: CryptoKey,
): Promise<string>

Decrypt attendee PII using the private key Used in admin views after obtaining private key from session

Parameters

encrypted: string
privateKey: CryptoKey

Return Type

Promise<string>

Usage

import { decryptAttendeePII } from "doc.ts";