Off the top of my head, I can think of a couple of options.
1. Use the MD5 function that is part of the OpenSSL crypto library. (man MD5 if you have OpenSSL installed)
2. Use the MD5 function that MySQL has, like so:
SELECT * FROM Users
WHERE Username='someusername' AND
Password=MD5('somepassword')
Last edited by deiussum; 04-13-2004 at 10:50 AM.
|