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

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

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

  Methods in org.apache.commons.lang3 that return RandomUtils
  Modifier and Type
  Method
  Description
  `static RandomUtils`
  RandomUtils.`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 RandomUtils`
  RandomUtils.`secure()`
  Gets the singleton instance based on `SecureRandom()` which uses an algorithms/providers specified in the `securerandom.strongAlgorithms` `Security` property.
  `static RandomUtils`
  RandomUtils.`secureStrong()`
  Gets the singleton instance based on `SecureRandom.getInstanceStrong()` which uses an algorithms/providers specified in the `securerandom.strongAlgorithms` `Security` property.