[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
10.1 Quality of random numbers
Libgcypt offers random numbers of different quality levels:
GCRY_WEAK_RANDOM
For all functions, except for
gcry_mpi_randomize
, this level maps to GCRY_STRONG_RANDOM. If you do not want this, consider usinggcry_create_nonce
.GCRY_STRONG_RANDOM
Use this level for session keys and similar purposes.
GCRY_VERY_STRONG_RANDOM
Use this level for long term key material.
This document was generated on February 9, 2014 using texi2html 5.0.