Generate Unique Random Number based on UserID
<p>i got a code to generate random number.</p>

<pre><code>public string Get8Digits()
 {
   var bytes = new byte[4];
   var rng = RandomNumberGenerator.Create();
   rng.GetBytes(bytes);
   uint random = BitConverter.ToUInt32(bytes, 0) % 100000000;
   return String.Format("{0:D8}", random);
 }
</code></pre>

<p>but i am looking for a routine where i will pass user id and routine will generate unique random number based on userid. in my case user id may look like</p>

<pre><code>a) 1,2,3,100,5000 
b) C0001,C0002,C0003,C0010
d) AL62YU,B1N36W,ZU21PQ etc
</code></pre>
