[EMAIL PROTECTED] wrote:
For reasons we needn't go into, I need to convert this to Java:
$to_encode = "example.com/api?foo=bar";
$key = "asdfasdfasdfasdfasdfasdf"; //fake value, but 24 bytes
$td = mcrypt_module_open('tripledes', '', 'ecb', '');
mcrypt_generic_init ($td, $key, $iv);
$c_t = mcrypt_generic ($td, $to_encode);
I've been Googling for hours and tried all kinds of stuff, none of which came
even close.
Any suggestions on a good reference or conversion program or something?...
http://java.sun.com/docs/books/tutorial/index.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php