How do I use the encryption (secure) random method?

So I would just like to know how to generate arrays with a size and number range.

the function random is this:

random();

if you want for example to fill a square with a random color you can paste it inside a function:

fill(random(255));

or:

fill(random(255),random(255),random(255));

I wrote 255 because those are rgb colors. it will pick anynumber from 0 to 255. it is a float method so there are numbers behind the komma. if you want to convert it to an int you have to do some math.
You can also pick a random number between lets say 10 and 100:

random(10,100);

you can also store the number in variables:

float a = random(1,8);

hope this helped you understand the function better :slight_smile: