Hi, md5 is a one-way digest function - it's designed not to be decrypted. Hashing functions are popular as a validation technique as the user supplies as password which is passed through the digest function. If this value matches that stored in the database, then the user has supplied the correct password. Hashing is useful in that if the database is breached, the cracker will not get plain-text passwords, or decrypt in any other fashion. Hope that helps, Brian --- In php-objects@xxxxxxxxxxxxxxx, "soha jabeen" <soha_gg@xxxx> wrote: > Dear Friends.. > > Problem is? > > i encrypte the password of the user using md5(). but when i want update > the user account and i get the data of the user from the database i get > also the encrypted password in a texbox. when i update the data , the > password again encrypted. > So how i can get the orignal password of the user when he/she enter at > the time registration.? > > Plz help... Thnx in Advance.. PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/