Jochen,

here are the test results:

`351 ms with writing the file, RtlRandomEx`

45 ms without writing

283 ms with writing the file, MasmBasic Rand()

1 ms without writing

############ ENT results RtlRandomEx:

Entropy = 7.953470 bits per byte.

Optimum compression would reduce the size

of this 1000000 byte file by 0 percent.

Chi square distribution for 1000000 samples is 63817.08, and randomly

would exceed this value 0.01 percent of the times.

Arithmetic mean value of data bytes is 111.4225 (127.5 = random).

Monte Carlo value for Pi is 3.489901960 (error 11.09 percent).

Serial correlation coefficient is -0.048078 (totally uncorrelated = 0.0).

############ ENT results MbRand:

Entropy = 7.999827 bits per byte.

Optimum compression would reduce the size

of this 1000000 byte file by 0 percent.

Chi square distribution for 1000000 samples is 240.28, and randomly

would exceed this value 50.00 percent of the times.

Arithmetic mean value of data bytes is 127.4222 (127.5 = random).

Monte Carlo value for Pi is 3.141804567 (error 0.01 percent).

Serial correlation coefficient is -0.002690 (totally uncorrelated = 0.0).

Gunther