Does rngd -r /path/to/file inject into /dev/urandom in addition to /dev/random?

I’m new to the /dev/random and /dev/urandom pipes in general and have an application calling from /dev/urandom which I’m attempting to inject entropy into. I’d prefer not to change the source for this application, but an additional proces… Continue reading Does rngd -r /path/to/file inject into /dev/urandom in addition to /dev/random?

How can I predict javascript Math.random method given integers?

I know this is possible because people have mentioned doing it. Given the XorShift128+ algorithm, how can I predict the next numbers given 15 integers generated through Math.floor(Math.random() * (max – min +1) + min). I have tried modif… Continue reading How can I predict javascript Math.random method given integers?

With the random numbers generated, can I know which RNG seed was used? [migrated]

My teacher challenged us to find out which seed was used to generate some random numbers. I would like to know if it is possible to decipher the seed using the generated numbers (break the linear congruence algorithm). If possible, I ask y… Continue reading With the random numbers generated, can I know which RNG seed was used? [migrated]

How can I validate that a PRNG’s output is insecure and predictable?

Say I talk to a developer who is using some output of a Pseudo-random number generator in order to do some security task. I know based upon common knowledge that only Cryptographically Secure Pseudo Random Numbers should be used.

However,… Continue reading How can I validate that a PRNG’s output is insecure and predictable?

If I seed a CSPRNG with a truly random number and call the output, does this make the number more, less or equally "random"?

If I have a JavaScript CSPRNG such as isaac.random(), and I seed it using a truly random number T as such: isaac.seed(T), does this make the result of the CSPRNG more, less, or equally random?
I would imagine that with a CSP… Continue reading If I seed a CSPRNG with a truly random number and call the output, does this make the number more, less or equally "random"?