If java has a function similar to the function in python called urandom from the random library how can I use it?
Python you would do:
import random
random._urandom(1)
What can I do in java for this?
Urandom doesn't generate a random numbers, it returns n random bytes suitable for cryptographic use