randbytes()

Generates random bytes of the specified length.

Syntax

randbytes(LEN)
Required Parameters
LEN
Length of the binary. Only lengths from 1 to 10,240 are allowed.

Usage

json "{}" | eval rand_blob=randbytes(32)
  => 6765eab83af980a266461427739cc37a8b4ee60dab09b091282c1070a3191e2d # Binary value example