http://www.php.net/manual/en/ref.mcrypt.php To have the same result in Java and PHP with the BouncyCastle library : php function encrypt($str, $operation, $key) { $ret = ''; $key = pack('H*', $key); if (strtoupper($operation) == 'DECODE')
http://www.php.net/manual/en/ref.mcrypt.php
To have the same result in Java and PHP with the BouncyCastle library :
php
java