Mailing List Archive

Questions about key generate.
Hi,

I would like to create keys randomly.
I wanted to know if I must make this
using to function:
void gcry_randomize (unsigned to char * buffer, size_t length, enum
gcry_random_level level)
or another exists of makes it.

Thank's,
Viviane Thomé.
Re: Questions about key generate. [ In reply to ]
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