in reply to DBI password

> How to decypt the password stored in the database to match the password given by the user.

That's not how it's done. Encrypt the one they give you, then see if the two encrypted ones match.



($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print

Replies are listed 'Best First'.
Re^2: DBI password
by Samy_rio (Vicar) on Jul 02, 2005 at 11:52 UTC

    Hi, how to encrypt the password given by the user?

    That is, I need to encrypt the password as of PASSWORD() function in MySql. Then only, the comparison will work.

    Regards,
    Velusamy R.