Zoomed Image

AMSX Scripting Language - Command : generaterandomstring

Summary

Generate a cryptographically random alphanumeric string of a given length

Description

Produces a random string of the specified length using a cryptographic random number generator. Suitable for generating tokens, temporary passwords, or nonces. The default length is 56 characters.

Parameters

ParameterDescription
cmddesired length of the random string (default 56)

Syntax


GenerateRandomString "desired length of the random string (default 56)"

Return to the AMSX Command Reference