-
Constructor Summary
Constructors
-
Method Summary
void
Fill the array of bytes with random values.
void
fill(byte[] bytes,
int start,
int len)
Fill part of bytes with random values.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SecureRandomProvider
protected SecureRandomProvider()
-
SecureRandomProvider
protected SecureRandomProvider(String algorithm,
String provider)
-
Method Details
-
fill
public void fill(byte[] bytes,
int start,
int len)
Description copied from interface: Random
Fill part of bytes with random values.
- Specified by:
fill in interface Random
- Parameters:
bytes - byte array to be filled.
start - index to start filling at.
len - length of segment to fill.
-
fill
public void fill(byte[] bytes)
Description copied from interface: Random
Fill the array of bytes with random values.
- Specified by:
fill in interface Random
- Parameters:
bytes - byte array to be filled.