title: Reliable random numbers for online lottery
body: <p>I need to generate random numbers for a lottery game, 
  the lottery front-end will work in flash AS3 the idea is to run a script that generates 10 random numbers (the winners) and save them in a SQL database</p>
  
  <p>What's a reliable way to create random numbers? 
  Is js Math.rand() function reliable enough for a lottery?</p>
  
  <p>On wikipedia I found Fortuna a "cryptographically secure pseudorandom number generator" that is inclucded in the Javascript Crypto Library. </p>
  
  <p>Another option is the web site <a href="http://www.random.org" rel="nofollow">http://www.random.org</a>, it offers a free API to provide random numbers, but what guaranties can it offer?</p>