Advertisement
Guest User

Untitled

a guest
May 9th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.25 KB | None | 0 0
  1. Sub Main
  2.     Dim bytes(511) As Byte
  3.     Using rng As New System.Security.Cryptography.RNGCryptoServiceProvider()
  4.         rng.GetNonZeroBytes(bytes)
  5.     End Using
  6. 'bytes.Dump
  7.  
  8. Dim nums = bytes.Zip(bytes.Skip(1),Function(b1,b2) {b1,b2})
  9. nums.Dump
  10.  
  11.  
  12. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement