[fpc-pascal] quality of FPC random

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Aug 17 13:19:24 CEST 2015


Adriaan van Os wrote on Mon, 17 Aug 2015:

> So, why not provide an FPC CryptoRandom function, calling into  
> /dev/urandom on UNIX and CryptGenRandom  
> <https://msdn.microsoft.com/en-us/library/aa379942(v=vs.85).aspx> on  
> Windows ?

Proper cryptography requires much more than just unpredictable random  
numbers. This is something that belongs in a specialised library, or  
in a set of specialised units written by experts. It has no place in a  
generic RTL unit.


Jonas



More information about the fpc-pascal mailing list