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) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg96921/pgp00000.pgp
Description: PGP signature

Reply via email to