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 .

  • neochen understood exactly what you need. Could you describe in more detail by clicking on edit? - Senior Pomidor
  • What does safe generation mean? - Senior Pomidor

0