Step-by-step answer
Stretch 30–45 min5 stepsRedact a PDF and prove it
A synthetic completion statement with its personal data in three places (the text layer, a scanned slip image and the metadata), redacted two ways with PyMuPDF. A verifier tries every way a reader could get a value back. The drawn boxes fail four checks; applied redactions with metadata scrubbing pass, and two half-done variants show what each check catches.
Back to the exercise