title: generate reliable pseudorandom number
body: <p>I want to write a multiplayer game on iOS platform. The game relied on random numbers that generated dynamically in order to decide what happen next. But it is a multiplayer game so this "random number" should be the same for all device for every player in order to have a consistent game play.</p>
  
  <p>Therefor I need a good reliable pseudorandom number generator that if I seed it a same number first than it will keep generate same sequences of random number on all device (iPad/iPhone/iPodTouch) and all OS version.</p>
  
  <p>Looks like <code>srand</code> and <code>rand</code> will do the job for me but I am not sure does <code>rand</code> guarantee to generate same number on all device across all OS version? Otherwise is any good pseudorandom number generate algorithm?</p>