Package burp.api.montoya.utilities
Interface RandomUtils
public interface RandomUtils
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionrandomString
(int length) Generate a random string using alphanumeric charactersrandomString
(int minLength, int maxLength, RandomUtils.CharacterSet... characterSets) Generate a random string using the suppliedRandomUtils.CharacterSet
randomString
(int minLength, int maxLength, String chars) Generate a random string using the supplied charactersrandomString
(int length, RandomUtils.CharacterSet... characterSets) Generate a random string using the suppliedRandomUtils.CharacterSet
randomString
(int length, String chars) Generate a random string using the supplied characters
-
Method Details
-
randomString
Generate a random string using alphanumeric characters- Parameters:
length
- length of the resulting random string- Returns:
- randomly generated string
-
randomString
Generate a random string using the supplied characters- Parameters:
length
- length of the resulting random stringchars
- the characters to use to generate the string- Returns:
- randomly generated string
-
randomString
Generate a random string using the suppliedRandomUtils.CharacterSet
- Parameters:
length
- length of the resulting random stringcharacterSets
- the listCharacterSet
to use to generate the string- Returns:
- randomly generated string
-
randomString
Generate a random string using the supplied characters- Parameters:
minLength
- the inclusive minimum length of the generated stringmaxLength
- the inclusive maximum length of the generated stringchars
- the characters to use to generate the string- Returns:
- randomly generated string
-
randomString
Generate a random string using the suppliedRandomUtils.CharacterSet
- Parameters:
minLength
- the inclusive minimum length of the generated stringmaxLength
- the inclusive maximum length of the generated stringcharacterSets
- the listCharacterSet
to use to generate the string- Returns:
- randomly generated string
-