Re: Encrypting/Decrypting Data
| From: | Evan Nemerson | Date: | Thu, 19 Sep 2002 23:41:45 +0000 |
| Subject: | Re: Encrypting/Decrypting Data | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116950@lists.php.net to get a copy of this message | ||
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 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_generic and mdecrypt_generic, but am confused by the
> 'resource td' parameter. Perhaps, someone can explain that as well.
>
> Any help is greatly apprciated.
>
> -john
>
> =P e p i e D e s i g n s=
> www.pepiedesigns.com
> Providing Solutions That Increase Productivity
>
> Web Developement. Database. Hosting. Multimedia.