Don't. Re-generate a randomized password and force the user to reset it upon first login. Only allow the user to do this if they answer a security question successfully. It's how many online entities will perform password recovery. Thanks, Chris On 2/26/08 10:52 PM, "Nasreen Laghari" <nasreen_laghari@xxxxxxxxx> wrote: > Hi, > > I have encrypted password in database and I encrypted using MD5(). As it is a > one-way Hash so I cant get password back to original text !!! > > What encrypting technique I used to encrypt password so if user forget, I can > decrypt password and email it. > > > Regards > > Nasreen > > > > ______________________________________________________________________________ > ______ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php