{{ summaryTitle }}

{{ summaryValue }}

{{ summaryLine }}

Encryption{{ encryptionTargetLabel }} Plan target{{ resultsReady ? `${computation.values.required_bits} bits` : '—' }} Recipient risk{{ resultsReady ? computation.values.risk_label : '—' }}
{{ secret.status }}
{{ summaryAnnouncement }}
Password-flow visual unavailable.
PDF password workflow settings
This planner never opens, uploads, encrypts, or unlocks a PDF.
{{ passwordStrategyHelp }}
{{ permissionProfileHelp }}
The target caps the plan's effective search-space figure; it does not encrypt a file here.
Broad or regulated distribution raises the repo-authored planning target from 112 to 128 bits.
characters
Use 12-64 characters. The current policy provides {{ resultsReady ? formatBits(computation.values.entropy_bits) : '—' }} of mathematical search space.
{{ characterPolicyHelp }}
Never send the PDF and its password in the same ordinary message.
{{ approvalHelp }}

{{ generationFeedback }}

{{ encrypt_metadata ? 'Encrypt document metadata' : 'Leave document metadata visible' }}
On is the safe baseline. Turning it off adds qpdf's clear-text metadata flag and a handoff warning.
CredentialPurposeLengthSearch spaceStatusCopy
{{ row.credential }}{{ row.purpose }}{{ row.length }}{{ row.entropy }}{{ row.status }}
{{ tableExportStatus }}
{{ chartExportStatus }}

The chart renderer is unavailable. The selected search-space estimate remains in the summary and credential review.

{{ handoffPlan }}
{{ handoffExportStatus }}

Sending an encrypted PDF is only half of an access-control decision. Someone must still decide who needs the password, who may change the document restrictions later, how the secret will travel, and what happens when access should end. A long password cannot repair a handoff that exposes the file and its secret together.

PDF encryption commonly separates two credentials. The open password is the viewing gate: a reader needs it to decrypt and open the content. The owner password protects the permission settings used for actions such as printing, copying, commenting, form filling, editing, and page assembly. When both roles are needed, they should use different values and different custodianship rules.

Encryption
Makes the document content unreadable without a valid decryption path.
Reader permissions
Request limits after decryption. Their enforcement depends on the PDF reader and is not a substitute for redaction.
Search space
The number of possible generated strings under a stated length and character pool, usually expressed in bits.
Handoff
The operational record of roles, restrictions, approval, and delivery route without exposing the secrets themselves.

Random generation, document encryption, and recipient verification solve different problems. A mathematically large search space describes resistance to exhaustive guessing only when characters are selected uniformly; it does not account for phishing, screen capture, malware, forwarding, or a compromised delivery channel. Sensitive files may also reveal names, titles, dates, or other metadata unless metadata encryption remains enabled.

The safer workflow starts with the document's real audience and consequence of disclosure. Controlled or named external sharing may justify one planning target, while broad or regulated distribution raises the target and usually needs recipient-specific access, an expiry or revocation plan, and a named approver. The PDF should be redacted before encryption if hidden content must never reach recipients.

How to Use This Tool:

Plan the credentials and handoff before touching the real PDF. The page generates passwords and a redacted command plan, but it does not open, unlock, upload, or encrypt a document.

  1. Choose Workflow intent and Password set. Use Open + owner when recipients need a viewing password and a custodian must retain separate permission control.
  2. Select the Permission profile, Encryption target, and Recipient risk. Keep PDF metadata encryption on unless visible metadata is a deliberate and reviewed requirement.
  3. Set Password length from 12 to 64 characters and choose a Character policy. Check the planning target and review warnings before generating credentials.
  4. Choose a separate Password delivery route. For an owner-approved unlock or permission change, add the approving owner, file scope, and reason in Approval note.
  5. Generate the password set, reveal or copy each secret only when needed, then apply the redacted handoff in a trusted PDF encryption workflow. Changing a role, length, or character policy makes the current credentials stale and requires a fresh set.

Interpreting Results:

Password set ready means the selected roles, authorization note, and search-space target satisfy this planning model. It does not prove that the final PDF was encrypted correctly or that every reader will honor its permission flags. Open the output file in the receiving software and test the intended restrictions before distribution.

  • Plan blocked means an open-only strategy still needs a distinct owner guard before encryption.
  • Approval note required means an unlock or permission change lacks the named authorization needed to continue.
  • Plan needs review means the effective search space is below the 112-bit or 128-bit target selected by recipient risk.
  • A strength label describes generated search space, not the security of the delivery channel or the trustworthiness of recipients.

Technical Details:

Uniform random selection from a pool of N distinct characters produces NL possible strings at length L. Expressing that search space in bits makes lengths and character policies comparable. The estimate is capped by the selected AES key size because a password plan should not claim more effective search space than the encryption target can represent.

Formula Core

The first equation estimates the generated password search space. The second applies the encryption-target cap.

H = L log2 (N) E = min (H,A)
Password formula variables and available character pools
Term Meaning Value or range
LGenerated password length12 to 64 characters
NReadable alphanumeric pool57 characters
NPDF-safe mixed pool71 characters
NFull printable pool88 characters
ASelected AES target128 or 256 bits

A 24-character password from the 71-character PDF-safe pool has about 147.6 bits of mathematical search space. With AES-256 the effective figure remains 147.6 bits; with AES-128 it is capped at 128 bits. Values at or above 128 bits are labeled Very high, 112 to under 128 High, 80 to under 112 Baseline, and below 80 Below baseline.

Rule Core

Readiness follows an ordered set of gates. The first matching condition determines the plan status.

Ordered PDF password plan status rules
Order Condition Status
1Open-only password setBlocked
2Owner-approved unlock or permission change without an approval noteAuthorization required
3Effective bits are below the recipient-risk targetReview
4No earlier condition matchesReady

Controlled and named-external recipient profiles use a 112-bit planning target. Broad-external and regulated-record profiles use 128 bits. These are repo-authored planning thresholds, not a certification of a PDF reader or a replacement for an organizational security policy.

Permission profile mapping
Profile Requested reader behavior
View onlyRequests no printing, extraction, editing, comments, forms, or page assembly.
Print allowed; copy/edit blockedRequests full printing while disabling extraction and modification actions.
Comments and form fillRequests printing, comments, and forms while disabling extraction, broad editing, and assembly.
Open access after passwordRequests permissive reader settings after the open password succeeds.

Privacy Notes:

No PDF is selected or transmitted. Passwords are generated in the browser with cryptographically strong random values, remain hidden by default, and are excluded from the URL and redacted handoff exports.

  • Copying or revealing a password can expose it to the clipboard, screen recording, or nearby viewers.
  • The approval note is included in the redacted handoff, so it should identify authorization without containing a password or other secret.
  • Deliver the PDF and its password through separate verified routes, then remove temporary copies and stale credentials according to the real retention policy.

Worked Examples:

External review copy

A named external reviewer needs to open and print a draft, while copying and editing should be discouraged. Choose Open + owner, Print allowed; copy/edit blocked, AES-256, the moderate recipient profile, and separate vault delivery. A 24-character PDF-safe set clears the 112-bit planning target. Test the encrypted output in the reviewer's PDF reader, because a ready plan cannot prove that the reader enforces every permission.

References: