generateRandomBytes

Returns a ByteArray of given size filled with random bytes.