Engineering · November 9, 2026

Giving every uploaded file its own key on Cloudflare R2

Usual stores bank statements, W-2s and tax returns for accounting firms. Here is how each file ended up encrypted under a key of its own, derived on the fly and never stored, and the two places where the obvious test would have lied.

Three documents, each with its own differently cut keyW-2.pdfbank-oct.pdf1040.pdf