Q:

How do you search for a range of number using Secure Random?

Please help me out I would like to generate random numbers from say 1 - 10 using 
SecureRandom, how do I do this?

A:

You can do by this operation:
Random rand = new SecureRandom()
// 1 to 10 inclusive.
int number = rand.nextInt(10);

