Code example for SecureRandom

Methods: nextInt

0
		String nonce = sb.toString();
		return nonce;
	} 
 
	public int getRandomInteger(final int min, final int max) {
		return secureRandom.nextInt(max - min) + min;
	} 
 
} 
Connect your IDE to all the code out there  Get Codota for Java