SecureRandom is a subclass of Random that provides a cryptographically strong random number generator (RNG).
Source Code
SecureRandom random = new SecureRandom();
int secureRandomNumber = random.nextInt();
System.out.println("Secure Random Number: " + secureRandomNumber);