0

Can we rely on /dev/urandom on UNIX machines if we need a cryptographically secure random generator?

pepite
  • 215
  • 1
  • 2
  • 6

1 Answers1

1

From This Site:

Both /dev/urandom and /dev/random are using the exact same CSPRNG (a cryptographically secure pseudorandom number generator). They only differ in very few ways that have nothing to do with “true” randomness.

user34445
  • 503
  • 2
  • 12
  • 2
    You beat me to it, that site is the default reference for confusion about `/dev/urandom`. – Arminius Dec 26 '16 at 21:19
  • I laughed when I read your comment. I often have people beating me to the punch, but rarely do it to others .. Maybe I'm slower than most ... – user34445 Dec 26 '16 at 21:20