Can anyone tell me what exactly does this Java code do?
SecureRandom random = SecureRandom.getInstance('SHA1PRNG'); byte[] bytes = new byte[20]; synchronized (random) { random.nextBytes(bytes); } return Base64.encode(bytes);
Step by step explanation will be useful so that I can recreate this code in VB. Thanks
Using code snippets you can get to something like this