Re: encrypt and decrypt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 encrypten with php.


What exactly are you trying to do? Maybe there are solutions that doesn't require encryption.


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 the id can lead to change any record they like. I don't want to get as far as passwords, in order to keep it simple for the customer.


This is why I think encrypting the ID might be the easiest solution.
I cant understand that this is such a hard thing to do.

Any other ideas?

Merlin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux