Every time I call RAND_bytes
and RAND_pseudo_bytes
, with the same seed, it returns different random numbers and I don't understand why. It said that the PRNG automatically seeds itself from /dev/urandom
in Linux, but how does it work in Windows?
Why does the same seed lead to different random numbers?