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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal