Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[WIP] [Crypto] Use stronger rand for key generation #643
If you look upstream at Bitcoin,
static void GetOSRand(unsigned char *ent32) (and probably others) uses a much more sophisticated code for the different OS platforms. (see https://github.com/bitcoin/bitcoin/blob/master/src/random.cpp)
If we go their approach, we have to completely copy their implementation and double check whether it's properly used by our code.
Remember that lots of SSL attacks (and security attacks in general) are based on flawed random number generation.
Until then we should stick with what we have now.