title: equivalent vb code for a java code
body: <p>Can anyone tell me what exactly does this Java code do?</p>
  
  <pre><code>SecureRandom random = SecureRandom.getInstance("SHA1PRNG");
  byte[] bytes = new byte[20];
  synchronized (random)
  {
      random.nextBytes(bytes);
  }
  
  return Base64.encode(bytes);
  </code></pre>
  
  <hr>
  
  <p>Step by step explanation will be useful so that I can recreate this code in VB. Thanks</p>