I just go solid opaque bar. Way easier to do and harder to screw up.
https://eclecticlight.co/2020/12/11/how-effective-and-safe-i...
Whoops.
Tech savvy people, but also journalists
https://arstechnica.com/tech-policy/2021/10/missouri-gov-cal...
My critical security step was rendering out the PDF as individual flat image files, then re-assembling it like a traditionally photo-copied document.
That way the loss-full operation is enforced, at the cost of forcing end users to OCR unsearchable image-scan (like) PDFs.
I think you mean "illegally hack the black bars".
There may be graphic design reasons you don't want to do that. A big black redaction bar isn't much of an illustration.