Date: 11/13/00
- Next message: Emmanuel Plovier: "[PHP-DB] PHP & ODBC problem with ORACLE"
- Previous message: kenji chan: "[PHP-DB] Md5() / password() in MySQL"
- In reply to: kenji chan: "[PHP-DB] Md5() / password() in MySQL"
- Next in thread: Jason Cox: "RE: [PHP-DB] Md5() / password() in MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> -----Original Message-----
> From: kenji chan [mailto:kenjikenji <email protected>]
> Sent: Monday, November 13, 2000 2:06 PM
> To: php-db <email protected>
> Subject: [PHP-DB] Md5() / password() in MySQL
>
>
> Md5() / password() in MySQL:
>
> Md5() can be encode something, but how to decode it?
> Password() is a buld in function in mysql , but how to
> decode something from password() ??
In both cases, the answer is "You can't."
Both md5() and MySQL's password() are one-way functions.
To determine whether a password entered later matches the one that's stored,
you'll need to encrypt the new password and see whether the encrypted
strings match.
--- Mark Roedel | "Blessed is he who has learned to laugh Systems Programmer | at himself, for he shall never cease LeTourneau University | to be entertained." Longview, Texas, USA | -- John Powell-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Emmanuel Plovier: "[PHP-DB] PHP & ODBC problem with ORACLE"
- Previous message: kenji chan: "[PHP-DB] Md5() / password() in MySQL"
- In reply to: kenji chan: "[PHP-DB] Md5() / password() in MySQL"
- Next in thread: Jason Cox: "RE: [PHP-DB] Md5() / password() in MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

