Passwords appear to be encrypted in the drupal 6 database. is there a way to encrypt and unencrypt them in the same manner using php?

Comments

nrzhong’s picture

The password is encrypted using MD5.Want to help to you。

dnewkerk’s picture

No you cannot decrypt the md5 passwords. It's possible to look up md5 hashes on various sites and see if it matches their database for a known word/password, but if it's a decent password it won't be listed (and beyond that you'd have to resort to much more extreme methods/tools). You can't get at the original password from within Drupal or PHP at all.