examples: support fast PRNG in examples