SecureRandom.nextBytes

SecureRandom.nextBytes

Class Overview | Class Members | This Package | All Packages

Syntax
public synchronized void nextBytes( byte bytes[] )
Parameters
bytes
the array to be filled in with random bytes.
Description
Generates a user-specified number of random bytes. This method is used as the basis of all random entities returned by this class (except seed bytes). Thus, it may be overridden to change the behavior of the class.

Overrides
nextBytes in class Random