title: How do you Encrypt and Decrypt a PHP String?
body: <p>What I mean is:</p>
  
  <pre><code>Original String + Salt or Key --&gt; Encrypted String
  Encrypted String + Salt or Key --&gt; Decrypted (Original String)
  </code></pre>
  
  <p>Maybe something like:</p>
  
  <pre><code>"hello world!" + "ABCD1234" --&gt; Encrypt --&gt; "2a2ffa8f13220befbe30819047e23b2c" (may be, for e.g)
  "2a2ffa8f13220befbe30819047e23b2c" --&gt; Decrypt with "ABCD1234" --&gt; "hello world!"
  </code></pre>
  
  <ul>
  <li>In PHP, how can you do this?</li>
  </ul>
  
  <p>Attempted to use <strong><code>Crypt_Blowfish</code></strong>, but it didn't work for me.</p>