Re: Use GnuPG with PHP?
| From: | David T-G | Date: | Fri, 14 Feb 2003 11:00:41 +0000 |
| Subject: | Re: Use GnuPG with PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135568@lists.php.net to get a copy of this message | ||
Mike --
..and then MIKE YRABEDRA said...
%
% I want to be able to encrypt a block of text using a passphrase. Then when I
% get the email, I just need to unlock it using that passphrase (no keys...i
% think).
Then it has nothing to do with GnuPG. Not only did you hijack this
thread, your subject isn't even meaningful!
%
% Can anyone tell me how to do this in PHP code?
Let's first figure out what you actually want to do :-) I would say that
the easiest way to encrypt and decrypt is certainly with gpg, though
others might not. I took a quick surf through the manual and looked at
the mcrypt functions and they will let you enter a crypt phrase and
transform the data; maybe that's what you want.
%
% TIA
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!