Hello Leon,

Friday, June 08, 2001, 9:28:05 PM, you wrote:

LM> Hello all,

LM> I have some questions about password encryption. I want to make some sort of 
encryption method that disables a human to read the password, but does allow my (php) 
script to convert the encoded
LM> password to a human-readable password, the member originally entered and the 
member enters in the form (if he or she has the password right) .

LM> In other words, I want a string to be encrypted and decrypted, if it's possible in 
the query.

LM> An example:

LM> insert into table values (encrypt("secret"));
LM> select decrypt(passfield) as pass from table;

LM> and here, pass will contain the value of "secret".

LM> Thanks in advance,

LM> Leon Mergen
LM> [EMAIL PROTECTED]
LM> BlazeBox, Inc.
LM> ICQ: 55677353

But what for???

-- 
Best regards,
 Olexandr                            mailto:[EMAIL PROTECTED]
    

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