title: Convert HEX string back to AES
body: <p>Here is the problem I am facing. There is a mechanism running on Server A (that is IBM i740 main frame) that takes secure data and uses AES to encrypt it. Now I, I want to get that ENCRYPTED data (AES encrypted string), but since it uses garbled characters, it can't be transmitted over http. So in order for me to get it, there is a web service exposed that finds that AES encrypted string, HEX'es and returns me a HEX string, like F51A751CC72124EE95518BECBA1F47C4. My question is, is there any way for me to convert (preferably, in Java) that HEX value back to AES encrypted string (I DON'T WANT TO DECRYPT THE STRING, just get it back to original encrypted value)?
  thanks</p>