Java API Tutorial - SecureRandom Example








Constructor

  1. Java SecureRandom() Constructor
  2. Java SecureRandom(byte[] seed) Constructor

Method

  1. Java SecureRandom.generateSeed(int numBytes)
  2. Java SecureRandom.getAlgorithm()
  3. Java SecureRandom .getInstance (String algorithm)
  4. Java SecureRandom .getInstance (String algorithm, Provider provider)
  5. Java SecureRandom .getInstance (String algorithm, String provider)
  6. Java SecureRandom.getProvider()
  7. Java SecureRandom.getSeed(int numBytes)
  8. Java SecureRandom.nextBytes(byte[] bytes)
  9. Java SecureRandom.setSeed(byte[] seed)
  10. Java SecureRandom.setSeed(long seed)