function encryptAttendeePII
encryptAttendeePII(
plaintext: string,
publicKeyJwk: string,
): Promise<string>

Encrypt attendee PII using the public key from settings This can be called without authentication (for public ticket forms)

Parameters

plaintext: string
publicKeyJwk: string

Return Type

Promise<string>

Usage

import { encryptAttendeePII } from "doc.ts";