GenerateRandomText (open)

Generate a random text

Syntax

LOADLIB "wh::crypto.whlib";

STRING FUNCTION GenerateRandomText(INTEGER len, STRING allowed_chars)

Parameters

INTEGER len

Number of random characters

STRING allowed_chars

String with the allowed characters

Return value

STRING

A random text with the given length and allowed_chars