Questions about key generate.

Werner Koch wk@gnupg.org
Tue, 01 Oct 2002 20:09:34 +0200


On Tue, 1 Oct 2002 14:29:04 -0300, Viviane Antonia Corrêa Thomé said:

> I would like to create keys randomly. 

This is in general a good idea as long as you have established a way
for key agreement.

> void gcry_randomize (unsigned to char * buffer, size_t length, enum
> gcry_random_level level)

This is a good choice, regarding the random levele you must decide for
what the keys are used and what your threat model is.


Shalom-Salam,

   Werner