note 34868 added to function.mcrypt-ecb
| From: | walo at walo dot com dot ar | Date: | Sat, 09 Aug 2003 02:57:46 +0000 |
| Subject: | note 34868 added to function.mcrypt-ecb | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-53718@lists.php.net to get a copy of this message | ||
Easy example:
$key = "password";
$input = "word to encrypt";
$encrypted_data = @mcrypt_ecb(MCRYPT_SAFER64, $key, $input, MCRYPT_ENCRYPT);
echo $encrypted_data;
$dencrypted_data = @mcrypt_ecb(MCRYPT_SAFER64, $key, $encrypted_data, MCRYPT_DECRYPT);
echo $dencrypted_data;
----
Manual Page -- http://www.php.net/manual/en/function.mcrypt-ecb.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34868
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34868&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34868&report=yes