I am trying to encrypt whole EPub's XHTML / HTML files using a private key, and then append a public key in META-INF/encrpytion.xml so that the user would be able to read the book this way. Private / public key pair is unique based on many non-relevant criteria.
Would it somehow be possible to use this encryption scheme? If yes, what encryption.xml structure should I use?
OR, if this is not possible, could I "obfuscate" actual XHTML book files the same as fonts are "obfuscated" in an EPub package?
Thanks, I'm very new to this, and there is no CLEAR specification on how to make your own EPub books ENCRYPTED.