Why a black box isn't enough
Drawing a black rectangle over text in most PDF editors only covers it. The words are still in the file, and anyone can select them, copy them or search for them.
Here, each page with something hidden is redrawn as an image with the boxes burned in, so the hidden text and anything under a box are gone. The rest of the page's words are added back as invisible text in the same places, so you can still search and copy them. Pages with nothing hidden are kept exactly as they were.