RE: [PHP] Decrypt Function?

2001-03-25 Thread Opec Kemp \( Ozemail \)
Unix "Crypt" function is a one way encrypytion algorithm therefore you can not technically decrupted as such. The way that you can check to see if the given uncrypted value is equals to its crypted value is to 1) Crypt the string with the same "salt" 2) Compare this with the crypted version If

Re: [PHP] Decrypt Function?

2001-03-25 Thread Stephan Ahonen
Is there any way to decrypt dat encrypted using the crypt function? If not, then what purpose does that function have? Crypt cannot be decrypted. One use of the function is for storing passwords on a server where people can access them. If you crypt the passwords before you store them on the

RE: [PHP] Decrypt Function?

2001-03-25 Thread Valter Santos
Is there any way to decrypt dat encrypted using the crypt function? If not, then what purpose does that function have? Encrypt data! ;) crypt is a one-way finction, it produces a hash from some plain text, and its result is suitable to store sensitive data in database, like passwords... If

Re: [PHP] Decrypt Function?

2001-03-25 Thread Chris Anderson
A, I see. Thank youthat is actually a great idea. Why didn't I think of that? /me hits himself in the head - Original Message - From: "Opec Kemp ( Ozemail )" [EMAIL PROTECTED] To: "PHP List" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, March 25, 2001 6:57