For a venerable approach to this, see the source code to the classic computer program "The Colossal Cave Adventure" which implemented a scheme to hide the text in the executable so as to prevent users from dumping the text as referenced in the Literate PDF:
http://literateprogramming.com/adventure.pdf
but you'll need the original source: