That does not sound good. We should create some functions to decrypt it back again, agree? Mohit Valecha ________________________________ Senior Programmer SG Analytics Pvt. Ltd. Tel: +91 20 2566 1897 Mobile: +91 9975570015 www.sganalytics.com Disclaimer: "Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. SG Analytics Pvt. Ltd. accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept 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:billb@xxxxxxxxxxxxxxxx] Sent: Tuesday, December 04, 2007 7:42 PM To: php Subject: RE: crypt() with decription 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:nishantha@xxxxxxx] Sent: Monday, December 03, 2007 9:15 PM To: php Subject: crypt() with decription I used php crypt() function to encript password (as a simple encryption) but how I decrypt that encrypted password because I want to send the password to the user when it requested. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php