Skip to content
This repository has been archived by the owner on May 7, 2018. It is now read-only.

Latest commit

 

History

History
14 lines (11 loc) · 746 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 746 Bytes

pcg

Docs Build Status Apache V2 License

A Rust implementation of the PCG PRNG.

The PCG algorithm is not suitable for cryptographic purposes but provides an excellent combination of speed and unpredictability. It is only slightly slower than rand::XorShiftRng but provides much higher-quality output.

This particular implementation uses a 128-bit state value, has a period of 2^64, and uses the XSH-RR output function.