3DES key generation

Johan Wevers johanw@vulcan.xs4all.nl
Fri Apr 18 11:23:30 2003


You, Egon Andersen, wrote:

> I know that gpg can use 3DES cipher algorithm, but how do I generate the
>   128-bit key used for this?

3DES uses a 168 bit key (3*56). You don't need to generate this key, a
random generator will do it for you. If you want to generate it yourself,
for example for test purposes, I guess tou'll have to hack that into gpg
yourself.

--
ir. J.C.A. Wevers         //  Physics and science fiction site:
johanw@vulcan.xs4all.nl   //  http://www.xs4all.nl/~johanw/index.html
PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html