Use a fixed lenght buffer in writePseudoRandomBytes()

This will reduce memory usage.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Ok, I will re-slice.

About compiler optimizing allocation of i, I think I tried it first but had some compile errors. I will have another look.

Thanks!