List:General Discussion« Previous MessageNext Message »
From:The Mage Merlin Date:November 13 2002 9:20am
Subject:Re: Decrypt MYSQL Password
View as plain text  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ben,

	From the MySQL man online @ 
http://www.mysql.com/doc/en/Miscellaneous_functions.html#IDX1330 :

PASSWORD() encryption is non-reversible. 

	To create a forgot your password page, the best method is to generate a net 
password and send that new password. To make it easier to your users to 
remember their passwords, the best way is to set that password as a temporary 
one, that only allows them to set the original password. (maybe using a 
diferent field, so they can keep the original password if someone else goes 
to your site and request the password, just because he was bored.

MPNeves

On Wednesday 13 November 2002 07:27 am, Ben C. wrote:
> 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!
>
- -- 
Merlin, the Mage
themage.camelot.co.pt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE90hleKOMrqDFTeBARAoc7AKDozVXEVP8Tfv8Qjx9DE4ChPF8zsACaAh/C
efo5W0z4+dO3UEvTnDz9qJk=
=i4Oj
-----END PGP SIGNATURE-----
Thread
Decrypt MYSQL PasswordBen C.13 Nov
  • Re: Decrypt MYSQL PasswordThe Mage Merlin13 Nov
  • Re: Decrypt MYSQL PasswordMichael T. Babcock13 Nov
  • Re: Decrypt MYSQL PasswordPaul DuBois13 Nov
  • re: Decrypt MYSQL PasswordEgor Egorov13 Nov
AW: Decrypt MYSQL PasswordWolfgang Moestl13 Nov
Re: Decrypt MYSQL PasswordBen C .13 Nov
  • Re: Decrypt MYSQL PasswordThe Mage Merlin13 Nov
  • Re: Decrypt MYSQL PasswordGelu Gogancea13 Nov
AW: Decrypt MYSQL Passwordhans huber13 Nov