title: Hide password in Java source code
body: <p>I need to hide the password in the source, what are the possible methods to obfuscate the password in order to reduce the risk of decompilation?</p>
  
  <p>e.g. </p>
  
  <pre><code>final String password = "secret";
  </code></pre>