The content of this document may be incorrect or outdated.
Print this article Edit this article
Encrypting a file signed by my secret key
Encrypting a file with your secret key means that you are the only person who can decrypt that file.
To encrypt type: pgp -se textfile -u your_userid
EXAMPLE: % pgp -se money -u jdoe ---> Will produce file 'money.pgp'
To decrypt:
When decrypting the above file, PGP will look for a match in signatures from the encrypted file and your public key. To decrypt type: pgp ciphertextfile. Ciphertextfile is the name of the file that is encrypted.
EXAMPLE: % pgp money.pgp ---> Will reproduce old file 'money'
Resources used for this FAQ:
Garfinkel, Simson. Encryption for Everyone: PGP Pretty Good Privacy. O'Reilly & Associates, Inc. 1995. ISBN 1-56592-098-8.
Last Modified:
Dec 19, 2016 11:12 am US/Eastern
Created:
Oct 24, 2007 1:45 pm GMT-4
by
admin
JumpURL: https://eng.purdue.edu/jump/1bdce