Hi all,
I'm looking for some information, rearging mcrypt.
Now, I've been through the normal channels, I've been going in in cercles.
I need to recreate this perl script in php :
sub cryptage
{
use Crypt::CBC;
$key = "SuperFreak";
my $action = shift;
my $string = shift;
my $c = new Crypt::CBC($key,"IDEA");
if ($action == 1) { #- crypt
return $c->encrypt_hex($string);
} else { #- decrypt
return $c->decrypt_hex($string );
}
As you can notice it uses CBC, and IDEA.
MCRYPT_IDEA (non-free) is all I get from the net, where can I purchase it ?
Or better yet, how can I recreate this function in PHP ?
even a simple "Look this way" would help.
Thanx
Frantzcy
--
Sleep, sometime in MAY... if lucky
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php