Sunday, March 25, 2001 6:57 PM
Subject: RE: [PHP] Decrypt Function?
> 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 crypte
> 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...
I
<< 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 th
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 t
4 matches
Mail list logo