I want to get the real password(not md5 encryption) when edit the account profile via user profile form and save. how to do that? Possible Duplicate:
  How can I get the real password via hook_user_update()?  




I want to change the current user password, and get the new password(the real password, not md5 encryption) when edit the account profile via user profile form(e.g.: example.com/user/1/edit) and save. would anyone can tell me how to do that? I tried using hook_user_update(), but it didn't succeed.
You cannot decrypt the password due to security reasons. Drupal 7 uses SHA512 by default with a salt. It will perform multiple hashes on the password. It's highly impossible to decrypt password.

See the better explanation provided here.

To reset the password see the solution provided here.