Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.security.SecureRandom

Availability: JDK 1.1

public class SecureRandom extends Random {
   // Public Constructors
      public SecureRandom();
      public SecureRandom(byte[] seed);
   // Class Methods
      public static byte[] getSeed(int numBytes);
   // Public Instance Methods
      public synchronized void nextBytes(byte[] bytes);  // Overrides Random.nextBytes()
      public synchronized void setSeed(byte[] seed);
      public void setSeed(long seed);  // Overrides Random.setSeed()
   // Protected Instance Methods
      protected final int next(int numBits);  // Overrides Random.next()
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.