Package org.apache.drill.exec.util
Class SecureRandomStringUtils
java.lang.Object
org.apache.drill.exec.util.SecureRandomStringUtils
Based on Commons Lang3 RandomStringUtils, but with a SecureRandom.
For internal Apache Drill use only.
-
Method Summary
-
Method Details
-
random
Creates a random string whose length is the number of characters specified.Characters will be chosen from the set of all characters.
- Parameters:
count
- the length of random string to create- Returns:
- the random string
- Throws:
IllegalArgumentException
- ifcount
< 0.
-