Hi,
You can also use an RC4Encryption / Decryption class
made in PHP.
http://www.devhome.net/php/tutorials/230101.html
it's pretty easy to use.
--- Richard Lynch [EMAIL PROTECTED] wrote: You
could use popen() to execute http://gnupg.org or
PGP...
It would be easier to recompile PHP, though, and
performance on popen() is
going to suck.
You *might* be able to compile just the encryption
module, and use
dl("mcrypt.so") in your PHP script to load it up
rather than recompile all
of PHP, but again, it's going to be harder, and
performance will suffer.
Compiling PHP the *second* time is *way* easier than
the first time,
especially if you've saved your previous PHP source
tree and all the other
source trees -- There's a file in the PHP source
tree called config.status,
and some other config.* files, that "remember" what
you did last time. So,
copy those somewhere safe, and then look at them.
You'll probably be able to copy config.status to
config.zhu, and then edit
that to add --with-mcrypt (or whatever it is), and
do:
chmod 755 config.zhu
./config.zhu
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD:
http://l-i-e.com/artists.htm
Volunteer a little time:
http://chatmusic.com/volunteer.htm
- Original Message -
From: Zhu George-CZZ010 [EMAIL PROTECTED]
Newsgroups: php.general
Sent: Friday, February 23, 2001 11:07 AM
Subject: [PHP] encrypt and decrypt in standard PHP
As the PHP manual indicates, we can use Mcrypt
to do the encrypt and
decrypt work in PHP, but that needs to download the
encrypt module and
recompile PHP. Is there any other way to encrypt
and decrypt the string in
standard PHP4.0.4 without any extension module?
Thank you very much!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
To contact the list administrators, e-mail:
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
To contact the list administrators, e-mail:
[EMAIL PROTECTED]
=
To find out more about me : http://www.geocities.com/mimodit
My bookmarks are available @ http://mukul.free.fr
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]