title: Compile-time string encryption
body: <p>I don't want reverse-engineers to read the plain-text of hardcoded strings in my application. The trivial solution for this is using a simple <a href="http://chod-is.blogspot.com/2011/05/run-time-string-decryption.html">XOR-Encryption</a>. The problem is I need a converter and in my application it will look like this:</p>
  
  <pre><code>//Before (unsecure)
  char * cString = "Helllo Stackoverflow!";
  //After (secure)
  char * cString = XStr( 0x06, 0x15, 0x9D, 0xD5FBF3CC, 0xCDCD83F7, 0xD1C7C4C3, 0xC6DCCEDE, 0xCBC2C0C7, 0x90000000 ).c();
  </code></pre>
  
  <p>Is there the possibility to maintain clean code by using some construct like</p>
  
  <pre><code>//Before (unsecure)
  char * cString = "Helllo Stackoverflow!";
  //After (secure)
  char * cString = CRYPT("Helllo Stackoverflow!");
  </code></pre>
  
  <p>It should also work for quite long strings ( 1000 characters? :-) ). Thank you in advance</p>