Interface Random
- All Known Implementing Classes:
BouncyCastleRandom
,JCERandom
,SingletonRandomFactory
public interface Random
A pseudo random number generator.
-
Method Summary
-
Method Details
-
fill
void fill(byte[] bytes) Fill the array of bytes with random values.- Parameters:
bytes
- byte array to be filled.
-
fill
void fill(byte[] bytes, int start, int len) Fill part of bytes with random values.- Parameters:
bytes
- byte array to be filled.start
- index to start filling at.len
- length of segment to fill.
-