| Package | Description |
|---|---|
| org.apache.commons.lang3 |
Provides highly reusable utility methods, chiefly concerned with adding value to the
java.lang classes. |
| Modifier and Type | Method and 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. |
Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.