title: Where doe crypto.rng come from
body: <p>Looking at some code that makes use of what I guess to be the generation of a random number of 32 bytes: </p>
  
  <pre><code>crypto.rng(32)
  </code></pre>
  
  <p>where</p>
  
  <pre><code>var crypto = require('crypto')
  </code></pre>
  
  <p>So my first assumption (being a java dev) is that crypto, being a node.js thing would have an rng function, but no I am wrong.</p>
  
  <p>Can someone please point me in the right directions.</p>
  
  <p>Thanks</p>