View Single Post
  #3  
Old 05-24-2015, 19:12
chessgod101's Avatar
chessgod101 chessgod101 is offline
Co-Administrator
 
Join Date: Jan 2011
Location: United States
Posts: 535
Rept. Given: 2,221
Rept. Rcvd 691 Times in 219 Posts
Thanks Given: 703
Thanks Rcvd at 939 Times in 186 Posts
chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699
I agree that random() is pseudorandom and weak like rand() in C++. It would be a bad choice for cryptography purposes, but for a simple tool like this, CryptGenRandom is overkill.
__________________
"As the island of our knowledge grows, so does the shore of our ignorance." John Wheeler
Reply With Quote
The Following 2 Users Say Thank You to chessgod101 For This Useful Post:
alephz (05-25-2015), mr.exodia (05-24-2015)