Blacking out a part of a PDF, or redaction of text
If you are looking for a no-cost way in Preview.app


File->Export (or save as)
Export PDF to TIFF file format (it's a multipage image format)
Open TIFF file
Export TIFF to PDF file format


Maintains page structure, OCR will be lost.