Tell me, in which Java library is there a function for the safe generation of random letter-numeric strings?
So far I have found org.apache.commons.lang.RandomStringUtils.randomAlphanumeric .
The result looks exactly as I need, but inside it uses the usual unsafe java.util.Random , and I need a safer place, for example java.security.SecureRandom .