Class SecureRandomStringUtils

java.lang.Object
org.apache.drill.exec.util.SecureRandomStringUtils

public class SecureRandomStringUtils extends Object
Based on Commons Lang3 RandomStringUtils, but with a SecureRandom. For internal Apache Drill use only.
  • Method Details

    • random

      public static String random(int count)
      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 - if count < 0.