Hi Ben,

As far as I know the algorithm used for the decrypting is a one-way hash function, 
thus there is no way of decrypting it.

You may consider to reset the password and mail the user the new one instead of 
mailing the old password. 

The second solution is to store the password a second time as clear-text at the user's 
property.


Regards,
Wolf

 

-----Originalnachricht-----
Von: Ben C.
An: [EMAIL PROTECTED]
Gesendet: 13.11.2002 08:27
Betreff: Decrypt MYSQL Password

I am using the MySQL password() function for the my passwords on the
user
names.  How do I decrypt the password in PHP to send it in an e-mail.  I
am
making a forgot your password page and want to have the user enter their
e-mail and have the password sent to them.

Please help!

------------------------------------------------------------------------
--
The content of this email message and any attachments are confidential
and
may be legally privileged, intended solely for the addressee.  If you
are
not the intended recipient, be advised that any use, dissemination,
distribution, or copying of this e-mail is strictly prohibited.  If you
receive this message in error, please notify the sender immediately by
reply
email and destroy the message and its attachments.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to