title: Use a string as seed generator for random number generation in ruby on rails
body: <p>I have a <code>uuid</code> (e.g. <code>a3989f5a-1c4b-11e3-8573-0025906a9230</code>) which I need to use as a seed for random number generation in ruby on rails. </p>
  
  <p>Every time a request comes with said <code>uuid</code>, I need to get the <em>same sequence of random numbers</em> generated. Is there any other such function that I am missing here?</p>
  
  <p>Please note: it is very important that for a given <code>uuid</code>, the same sequence of random numbers need to be generated every time.</p>
  
  <p>I have tried using the <code>Kernel.srand()</code> method provided by ruby, however this only accepts integers.</p>