Rehash? I hope that some appropriate cryptographic hash function
was used. It makes it cryptographically infeasible
to restore the password from the hash function; this is the whole point of such functions:
Even if we could restore the password, it would be unethical
. No one has any right to know any password except the users who created them for themselves, no matter what access or privileges you may have. A password is meant to be a totally private entity. The normal practice is to reset the password, never knowing what it was before. After reset, the user is supposed to change it. Only this way, never anything else.