variable ENCRYPTION_PREFIX

Encryption format version prefix Format: enc:1:$base64iv:$base64ciphertext

Tags symmetric DB_ENCRYPTION_KEY ciphertext, distinguishing it from hybrid owner-key values (see HYBRID_PREFIX in keys.ts) — the activity-log backfill keys off this prefix to find legacy rows still to re-encrypt.

Type

"enc:1:"

Usage

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