MQL4: Decrypt a message which has been crypted by another language

 

I have seen that encrypting a message using Java ( or another language ) gives me an encrypted text which is partially different compared to the same message encrypted using MQL4 ( of course, the key and the encryption algorithm are the same ).

Do you have a solution or suggestions to solve this problem?

Thank you 

 
Marco Strazzeri:

I have seen that encrypting a message using Java ( or another language ) gives me an encrypted text which is partially different compared to the same message encrypted using MQL4 ( of course, the key and the encryption algorithm are the same ).

Do you have a solution or suggestions to solve this problem?

Thank you 

Sure, fix your code.
Reason: