PDF Password Protection
Standard AES-256 PDF encryption requires cryptographic operations that go beyond what our current client-side PDF library (pdf-lib) supports.
Why not client-side?
PDF encryption uses a key derivation algorithm tied to the PDF's internal object structure. Implementing it securely from scratch requires a WASM-compiled binary like qpdf or a server-side tool — neither of which is part of the current browser-only stack.
Alternatives
- Adobe Acrobat — File → Protect → Encrypt with Password
- Preview (macOS) — Export as PDF → Permissions → Enable password
- LibreOffice — Free and open source, supports PDF export with password
Your files stay on your computer. Dad promised.