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