Am 14.08.2015 um 15:38 schrieb Xiangrong Fang:
I need to generate random numbers to be used as IV of block ciphers.  My
question is: is FPC built-in PRNG good enough as comparing to /dev/urandom?

NO!!!
For crypto always use /dev/urandom

On the other hand, /dev/urandom in my impression is fairly slow, how is
the speed of Random() comparing to that?

Speed is irrelevant, because you do not need many truely random numbers for crypto.
For crypto always use /dev/urandom

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to