com.Util.CreateRandomString

Creates a new random string for a given size (deprecated!)

Syntax

com.Util.CreateRandomString(
   size INTEGER)
  RETURNING result STRING
  1. size is the size in bytes of the random string.

Usage

Important: This function is deprecated! Use security.RandomGenerator.CreateRandomString() instead.

Generates a random binary data of size bytes long, and returns it into a string encoded in a Base64 form.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.