title: What would be the equivalent in Golang of crypto.randomBytes(32) in the Node crypto package?
body: <p>Hi guys I'm basically trying to recreate this node package:</p>
  
  <p><a href="https://github.com/seishun/node-steam-crypto/blob/master/index.js" rel="nofollow">https://github.com/seishun/node-steam-crypto/blob/master/index.js</a></p>
  
  <p>In <code>golang</code> so I can make API calls to the Steam API that requires these encrypted <code>sessionKeys</code> and what not.</p>
  
  <p>I was looking through the <code>crypto</code> package but there is so many different hashing methods to use I'm not sure which one would be the closest to the </p>
  
  <p><code>crypto.randomBytes(32)</code> in the node package. </p>
  
  <p>Also the</p>
  
  <p><code>crypto.publicEncrypt()</code></p>
  
  <p>Sorry if this question is crap, not sure how else to word it as I haven't really dealt with this kind of stuff before. Any information would be great thanks.</p>