Forum Moderators: coopster
I want to create an API on 'domain1.com' to send crypted information to 'domain2.com', which must decrypt this info with a private password (agreed by 'domain1.com' and 'domain2.com').
I've been using this non-standard encryption PHP function:
http://www.example.com/php-mysql/encryption.html
which was installed in 'domain1.com' and 'domain2.com'.
However, 'domain2.com' is now a non-PHP server, so I'm trying to find a standard encryption PHP algorithm. Therefore, if 'domain1.com' sends a crypted text, 'domain2.com' can decrypt it with a standard method.
Does anybody know any standard encryption PHP algorithm?
Thank you very much.
[edited by: dreamcatcher at 8:17 pm (utc) on April 13, 2007]
[edit reason] Use example.com, thanks. [/edit]
<?php
$key = "this is a secret key";
$input = "Let us meet at 9 o'clock at the secret place.";$encrypted_data = mcrypt_ecb (MCRYPT_3DES, $key, $input, MCRYPT_ENCRYPT);
?>
Is DES a wide used algorithm?
[en.wikipedia.org...]