Make randomNumberSeed read from /dev/urandom
authorTudor Bosman <tudorb@fb.com>
Fri, 20 Jun 2014 03:46:10 +0000 (20:46 -0700)
committerAnton Likhtarov <alikhtarov@fb.com>
Thu, 26 Jun 2014 02:27:38 +0000 (19:27 -0700)
commit6019aaaa140e5280812c0ecf69a1a1ec3d4af523
tree9cb4e807841b2722fe5d388eaa46c90e02e3ef35
parent418ad481c4f1feffa149d0d8145cf70ca08a0d96
Make randomNumberSeed read from /dev/urandom

Summary: Because @lesha asked "why not" and I couldn't give him an answer.

Test Plan: random_test

Reviewed By: bmaurer@fb.com

Subscribers: bmaurer, folly@lists, jhj, kma, lesha, sdoroshenko, soren

FB internal diff: D1394401
folly/FileUtil.cpp
folly/Random-inl.h [new file with mode: 0644]
folly/Random.cpp
folly/Random.h
folly/test/RandomTest.cpp