public interface CryptoRandom extends Closeable
Note that implementations must provide a constructor that takes a Properties instance.
| Modifier and Type | Method and Description |
|---|---|
void |
nextBytes(byte[] bytes)
Generates random bytes and places them into a user-supplied byte array.
|
void nextBytes(byte[] bytes)
bytes - the byte array to fill with random bytesCopyright © 2016–2022 The Apache Software Foundation. All rights reserved.