SecureRandom « java.security « Java by API






1.new SecureRandom()
2.SecureRandom: getInstance(String algorithm) throws NoSuchAlgorithmException
3.SecureRandom: nextBytes(byte[] bytes)
4.SecureRandom: setSeed(long seed)