I have a pdf or word file, and read it in bytes, so I can encrypted it, now, I want to know how can I write these bytes to pdf file, so user see it as Garbage codes unless the file was decrypted?
Is there a method to change each page to bytes? I need c or c++ code. Because I want to encrypt each pdf page, and I can encrypt bytes data, also I want to know when I encrypt each page, is it still a pdf file, and just each page is Garbage characters(unreadable codes, messy code).