title: How to decrypt an encrypted AES-256 string from CryptoJS using Java?
body: <p>I have an encrypted AES-256 string from CryptoJS with a passphrase. I need to decrypt it in Java but can't figure out how to do it. It seems that you need IV, key and salt to decrypt, and as in <a href="https://code.google.com/p/crypto-js/#The_Cipher_Output" rel="nofollow">CryptoJS mainpage</a>, the encrypted data already contains all of them, and CryptoJS can somehow parse them out of encrypted input.</p>
  
  <p>Anyone know how to do that? I've seen so much example about CryptoJS - Java encrypt/decrypt but most of them use hardcoded IV/key, or just send IV/key from cryptoJS side to Java side. All I have is a passphrase, just like what <a href="http://uttool.com/encryption/aes/default.aspx" rel="nofollow">this site</a> do!</p>