public class PRNG extends Object implements VertxContextPRNG
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
nextBytes(byte[] bytes)
Fills the given byte array with random bytes.
|
int |
nextInt()
Returns a secure random int
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcurrent, current, current, nextStringpublic PRNG(Vertx vertx)
public void close()
public void nextBytes(byte[] bytes)
VertxContextPRNGnextBytes in interface VertxContextPRNGbytes - a byte array.public int nextInt()
VertxContextPRNGnextInt in interface VertxContextPRNGCopyright © 2018 Eclipse. All rights reserved.