gpg -c option

David Shaw
Tue Feb 18 18:12:01 2003

On Tue, Feb 18, 2003 at 11:13:38AM -0500, Hakan Hekim wrote:
> Hi
> I want to ask some questions about -c option.
> First which algorithm does the 'gpg -c' use?

CAST5 unless you change it.

> Is there any way to define the algorithm?

Use the --cipher-algo option.

> And does output file have any special heading? It is a bit computer
> forensic question. I mean is it possible to understand whether a
> file is encrypted with using gpg or not?

Yes, you can.  There is a several byte header on the data.  You can of
course remove the header if you choose, but GnuPG does not do that


   David Shaw  |  |  WWW
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson