title: How to create a random char string of size 64k w/o using rand() or /dev/random in C?
body: <p>I am searching for way to create a somewhat random string of 64k size.<br>
  But I want this to be fast as well. I have tried the following ways:  </p>
  
  <p>a) read from /dev/random -- This is too slow<br>
  b) call rand() or a similar function of my own -- a soln with few(&lt;10) calls should be ok.<br>
  c) malloc() -- On my Linux, the memory region is all zeroes always,<br>
     instead of some random data.<br>
  d) Get some randomness from stack variable addresses/ timestamp  etc. to init initial few bytes.<br>
     Followed by copying over these values to the remaining array in different variations.</p>
  
  <p>Would like to know if there is a better way to approach this.</p>