Re: [PHP-WIN] crypt() with decription

2007-12-04 Thread Oliver Espeter
I can only agree Bill and Elizabeth. @Nishantha: Do you only need a password-recovery function for registered users? Then simply create an random-string, save it in an extra column of your Data Stock and give it to the user. Also you can - as Elizabeth wrote - use an two-way-decryption and giv

Re: [PHP-WIN] crypt() with decription

2007-12-04 Thread Elizabeth Smith
Mohit wrote: That does not sound good. We should create some functions to decrypt it back again, agree? Mohit Valecha from the manual: crypt — One-way string encryption (hashing) Note: There is no decrypt function, since crypt() uses a one-way algorithm. I

RE: [PHP-WIN] crypt() with decription

2007-12-04 Thread Mohit
ccept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you." -Original Message- From: Bill Bolte [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 7:42 PM To: php Subject: RE: [PHP-WIN] crypt() with

RE: [PHP-WIN] crypt() with decription

2007-12-04 Thread Bill Bolte
There isn't a way to un-encrypt it, it's a one-way encryption (http://www.php.net/manual/en/function.crypt.php). The user will have to recreate their password. -Original Message- From: Nishantha Pradeep [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 9:15 PM To: php Subject: [P