Class RandomUtil


  • @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public final class RandomUtil
    extends Object
    Utility class for random generators.
    Author:
    Alexandru Somai
    • Method Detail

      • generateRandomHexString

        public static String generateRandomHexString​(int numChars)
        Generates a random hex String with the given length.
        Parameters:
        numChars - the length of the String to be generated
        Returns:
        the random generated hex String