how to create a symmetric cipher

Wei Wu [H] wwu at
Tue Nov 14 23:00:02 CET 2006


Well, my ultimate goal is to encrypt data, but I don't want to use
passphrase to do it as I believe it is not secure enough.

So my questions are:

1. How to create a symmetric key or cipher? With that, I may use another
tool to encrypt/decrypt.

2. Can gpg be used to do key based encryption? Not passphrase based.


-----Original Message-----
From: gnupg-users-bounces at [mailto:gnupg-users-bounces at]
On Behalf Of David Shaw
Sent: Tuesday, November 14, 2006 3:40 PM
To: gnupg-users at
Subject: Re: how to create a symmetric cipher

On Tue, Nov 14, 2006 at 01:52:31PM -0600, Wei Wu [H] wrote:
> Hi there,
> I want to create a symmetric cipher such as AES to encrypt some data, and
> think gpg (GnuPG Version may do this. But I found it gives only
> three options, none is symmetric. I would appreciate if anyone can point
> to another or way to do it?

I'm a bit confused as to what you are asking, but if the question is
"how do I encrypt data using a symmetric cipher?", then the answer is
"gpg --symmetric (thefile)"


Gnupg-users mailing list
Gnupg-users at

More information about the Gnupg-users mailing list