Top "Prng" questions

This tag is for questions pertaining to random numbers and their generators, whether pseudo-random or truly random.

What's the origin of this GLSL rand() one-liner?

I've seen this pseudo-random number generator for use in shaders referred to here and there around the web: float rand(…

glsl shader prng
Generating a random double between a range of values

Im currently having trouble generating random numbers between -32.768 and 32.768. It keeps giving me the same values but with a …

c++ algorithm random prng genetic
Reversible pseudo-random sequence generator

I would like some sort of method to create a fairly long sequence of random numbers that I can flip …

reverse arduino random prng
Using SecureRandom with SHA-256

I have been using SecureRandom with a seeded SHA1PRNG algorithm to create shared randomness between two processes. I recently …

java cryptography sha prng