Skip to Content

Turn your connections into holiday cash with our new Customer Referral Program! Learn more

This documentation is for version 4 of App Builder, the new name for Vinyl. Access the Vinyl documentation here.

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