Seeding in mini-gmp

Torbjörn Granlund tg at gmplib.org
Thu Nov 24 16:48:29 UTC 2016


nisse at lysator.liu.se (Niels Möller) writes:

  There's gmp_randseed. I guess we could use that. Why 6 bytes (48
  bits), and not, e.g., 64 bits?
  
Birthday paradoxical considerations; sqrt(2^48) = 2^24 is a large enough
number to practically make all random seeds unique.


-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list