Super simple implementation of a random number generator, which relies on Math.random().
Fills in an array of bytes with random numbers
Parameter | Type | Description |
---|---|---|
byteArray | Array | array to be filled in with random numbers, only existing elements will be filled. |