# Uses of Class
org.apache.commons.lang3.RandomStringUtils

Packages that use RandomStringUtils
Package
Description
org.apache.commons.lang3
Provides highly reusable utility methods, chiefly concerned with adding value to the `java.lang` classes.

- ## Uses of RandomStringUtils in org.apache.commons.lang3

  Methods in org.apache.commons.lang3 that return RandomStringUtils
  Modifier and Type
  Method
  Description
  `static RandomStringUtils`
  RandomStringUtils.`insecure()`
  Gets the singleton instance based on `ThreadLocalRandom.current()`; which is not cryptographically secure; use `secure()` to use an algorithms/providers specified in the `securerandom.strongAlgorithms` `Security` property.
  `static RandomStringUtils`
  RandomStringUtils.`secure()`
  Gets the singleton instance based on `SecureRandom()` which uses a secure random number generator (RNG) implementing the default random number algorithm.
  `static RandomStringUtils`
  RandomStringUtils.`secureStrong()`
  Gets the singleton instance based on `SecureRandom.getInstanceStrong()` which uses an algorithms/providers specified in the `securerandom.strongAlgorithms` `Security` property.