SyntaxFix
Write A Post
Hire A Developer
Questions
Try the Random.nextBytes method:
Random.nextBytes
byte[] b = new byte[20]; new Random().nextBytes(b);