Re: [PHP] Encrypting/Decrypting Data

2002-09-19 Thread Evan Nemerson
If memory serves, $td is returned by mcrypt_module_open() http://www.php.net/mcrypt-module-open On Thursday 19 September 2002 00:54, [-^-!-%- wrote: > Hello. > > How do you decrypt a data that's encrypted with crypt($data). > > Now, the php documents says crypt() is a one-way crypting functio

[PHP] Encrypting/Decrypting Data

2002-09-19 Thread [-^-!-%-
Hello. How do you decrypt a data that's encrypted with crypt($data). Now, the php documents says crypt() is a one-way crypting function, so there is no decrypt() function. I was wondering if someone could shed some light on alternative ways to encrypt & decrypt data. I've looked at mcrypt_gene