Re: mcrypt

From: Date: Wed, 18 Jan 2006 23:16:42 +0000
Subject: Re: mcrypt
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-228792@lists.php.net to get a copy of this message
On Tue, January 17, 2006 7:05 pm, emil@vanster.nu wrote: > Since I'm running php under safe mode and the gpglib extension is not > installed in php at my isp gpg seems to be unavalible for me. Are > there anything else I can use with public/private keys that is as > safe/solid/hard to crack as gpg? The mcrypt extension is installed if > that helps, or are all those crypts using the same key for encryption > and decryption? (I've read a couple pages about the crypt algorithms > at wikipedia, but it didn't really help me) If you dig really deep for my name (probably not current email tho) and GPG in the PHP archvies, you'll find a long-running thread about using http://php.net/exec to run gpg WARNING: This exposes your data to 'ps' and 'top' and that ilk... Better to use http://php.net/popen once you've hammered out the "fun" parts... All the different crypts are using different algorithms -- that's rather the whole point of them all having different names and stuff. :-) I'm not sure any of them are similar enough to GPG to be useful, but I *think* you could use some of them to generate key-pairs not unlike GPG and then use them in a similar way to GPG... -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#228792) next »