Use this utility to generate random strings
Linx Designer 6.4.3 or higher
- Download the repo
- Open the
GeneratingRandomString.solution
file in the repositoryLinx6
folder
- Debug the
GenerateRandomString
function - Define values for the input parameters
- Length (String)
- AllowUpperCase (Boolean)
- AllowLowerCase (Boolean)
- AllowSpecialCharacters (Boolean)
- AllowNumbers (Boolean)
- Start the debugger
- A string of all allowed characters is created.
- The Cryptography plugin (
GenerateRandom
) is used to generate a random byte. - The byte identifies the location of one character in the string of allowed characters.
- Each identified character is appended to the end of the return string.
- The process is repeated until the length of the return string matches the desired length.