I thought this code:
$enc=mcrypt_ecb(MCRYPT_RIJNDAEL_256,salt123,encrypt_me,MCRYPT_ENCRYPT);
$dec=mcrypt_ecb(MCRYPT_RIJNDAEL_256,salt123,$enc,MCRYPT_DECRYPT);
echo $dec;
would yield encrypt_me. The actual result is
encrypt_me.. (bunch of extra dots).
Why, and how do I
I thought this code:
$enc=mcrypt_ecb(MCRYPT_RIJNDAEL_256,salt123,encrypt_me,MCRYPT_ENCRYPT);
$dec=mcrypt_ecb(MCRYPT_RIJNDAEL_256,salt123,$enc,MCRYPT_DECRYPT);
echo $dec;
would yield encrypt_me. The actual result is
encrypt_me.. (bunch of extra dots).
Why, and how do I fix
I searched google,weberdev and php.net sites. i implemented the 2 encrypt and
decrypt functions mcrypt_encrypt(),mcrypt_decrypt() and mcrypt_ecb()
functions.but it not working properly.i dont need more complicated encrypt and
decrypt functionality.just i want to encrypt my user id when i pass
received this transmission in
error, please notify the sender by reply e-mail and destroy all copies
of this transmission.
-Original Message-
From: suresh kumar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 07, 2006 12:45 AM
To: php-general@lists.php.net
Subject: [PHP] encrypt and decrypt
On Wednesday 03 November 2004 11:47, Merlin wrote:
Hi, I tryed the Pear package, and it encryptes well. However the encrypten
is not URL friendly. My goal is to encrypt a 8 digit ID into a URL. Can
this be that hard?`I bet there are hundreds of people wanting to make a
similar encrypten with
Jason Wong wrote:
On Wednesday 03 November 2004 11:47, Merlin wrote:
Hi, I tryed the Pear package, and it encryptes well. However the encrypten
is not URL friendly. My goal is to encrypt a 8 digit ID into a URL. Can
this be that hard?`I bet there are hundreds of people wanting to make a
similar
Hello Merlin,
Wednesday, November 3, 2004, 2:50:48 PM, you wrote:
M The system will send out emails to customers with a link where they can change
M their details. To identify the record, the link has to carry the client id. But
M if it is obvious that this is the id, manipulation of the id can
Richard Davey wrote:
Hello Merlin,
Wednesday, November 3, 2004, 2:50:48 PM, you wrote:
M The system will send out emails to customers with a link where they can change
M their details. To identify the record, the link has to carry the client id. But
M if it is obvious that this is the id,
On Wednesday 03 November 2004 14:50, Merlin wrote:
Here is a short explanation:
The system will send out emails to customers with a link where they can
change their details. To identify the record, the link has to carry the
client id. But if it is obvious that this is the id, manipulation of
Hi,
I am using libmcrypt-2.5.3 to do encryption in php.
I use exactly the steps provided in mcrypt_module_open
available on php website
http://php.benscom.com/manual/en/function.mcrypt-module-open.php
I can encrypt and decrypt a string correctly. However,
if i encrypt a cookie to write to
On Wed, 21 Nov 2001 10:49, Michael J. Seely wrote:
HI Folks,
I'm trying to use the encrypt and decrypt functions in PHP3. I get a
fatal error Call to unsupported or undefined function encrypt() ...
Is this a configuration issue or I'm I doing something wrong?
Thanks
If you are
As the PHP manual indicates, we can use Mcrypt to do the encrypt and decrypt work in
PHP, but that needs to download the encrypt module and recompile PHP. Is there any
other way to encrypt and decrypt the string in standard PHP4.0.4 without any extension
module?
Thank you very much!
--
February 23, 2001 11:07 AM
Subject: [PHP] encrypt and decrypt in standard PHP
As the PHP manual indicates, we can use Mcrypt to do the encrypt and
decrypt work in PHP, but that needs to download the encrypt module and
recompile PHP. Is there any other way to encrypt and decrypt the string
t? Like Music? Buy a CD:
http://l-i-e.com/artists.htm
Volunteer a little time:
http://chatmusic.com/volunteer.htm
- Original Message -
From: Zhu George-CZZ010 [EMAIL PROTECTED]
Newsgroups: php.general
Sent: Friday, February 23, 2001 11:07 AM
Subject: [PHP] encrypt and dec
14 matches
Mail list logo