View Single Post
  #2  
Old 05-24-2015, 17:40
Git's Avatar
Git Git is offline
Old Git
 
Join Date: Mar 2002
Location: Torino
Posts: 1,115
Rept. Given: 220
Rept. Rcvd 265 Times in 157 Posts
Thanks Given: 108
Thanks Rcvd at 216 Times in 124 Posts
Git Reputation: 200-299 Git Reputation: 200-299 Git Reputation: 200-299
What is the source of Delphi's random() ?. It used to be fairly weak in the old days. If it still is weak, like visual C rand(), take a look at CryptGenRandom() and CryptAcquireContext() from Advapi32.dll. It complies with FIPS 186-2. There's also some source on MSDN to configure it to use the intel cpu RDRAND instruction which "uses the quantum unpredictability of the thermal noise of the chipset die itself" according to MSDN

Git
Reply With Quote