Walter,
Tuesday, May 14, 2002, 4:59:15 PM, you wrote:

WDF>  I am trying Mysql Password() function, to encrypt password in a a
WDF> user/password
WDF> table,
WDF>  it works fine both ways; it is to say, when I submit a login
WDF> (user/password)
WDF> combination it fetches the pair ok.
WDF>  My question is, as I read in the documentation, that the process is
WDF> irreversible, how can I deal with the fact
WDF>  that a user can forget his password, if I will not be able to retrieve the
WDF>  original string, because what i can see is the encrypted data

WDF>  is there a workaround to deal with this, either than storing in a separeted
WDF>  table the original password string (not encrypted), or shall i simply not
WDF>  use this function ?

What about using another functions for encrypting password and user
name, f.e. ENCODE()/DECODE() or DES_ENCRYPT()/DES_DECRYPT()?
Look at:
     http://www.mysql.com/doc/M/i/Miscellaneous_functions.html

WDF>  thanks in advance to any suggestion
WDF> Walter




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
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