SecureRandom.getSeed
Class Overview | Class Members | 
  This Package | 
All Packages
 public static byte[] getSeed( int numBytes )
Parameters
-  numBytes 
-  the number of seed bytes to generate.
    
Returns
     the seed bytes.
  Description
 Returns the given number of seed bytes, computed using the seed
 generation algorithm that this class uses to seed itself.  This
 call may be used to seed other random number generators.  While
 we attempt to return a "truly random" sequence of bytes, we do not 
 know exactly how random the bytes returned by this call are.  (See 
 the empty constructor SecureRandom
 for a brief description of the underlying algorithm.)
 The prudent user will err on the side of caution and get extra
 seed bytes, although it should be noted that seed generation is
 somewhat costly.