title: Decrypt in PHP with Salt, password, and type?
body: <p>When I run Crypto-JS's encrypt function, I am given the base64-encoded following:</p>
  
  <pre><code>var crypted = CryptoJS.AES.encrypt("Message", "Secret Passphrase",  {mode: CryptoJS.mode.CBC}).toString();
  ==&gt;  "U2FsdGVkX19HKyOimD43Bl4ww/I40M+NQrscjti3ZnA="
  </code></pre>
  
  <p>How do I unencrypt this in PHP in the future?  I have attempted using openSSL, mcrypt, etc, and nothin seems to work -- I guess I don't know how to deal with base64 encoding, salting, VI, and everything... Something goes wrong somewhere.</p>