RandomBytes() mvSQL runtime function in Jitterbit App Builder¶
Summary¶
Generates random bytes on the server, and returns them as a hex string
Syntax¶
randombytes(<n>)
Parameters¶
numeric¶
number of random bytes to generate
Returns¶
string
returns a string of hex encoded bytes
Remarks¶
Keep in mind 1 byte in hex is 2 characters long
Examples¶
randombytes(1)
Returns (something random such as):
AF
randombytes(10)
Returns (something random such as):
E01EBBB13BE6243521C6