News for hackers. Stuff that matters.
Re:The bell has tolled for rand() by StephanTLavavej on Thursday February 12, 2015 @04:17AM (#9038055)
std::random_device is part of C++11, and VC's implementation guarantees that it's crypto-secure.
Re:The bell has tolled for rand() by tedunangst on Thursday February 12, 2015 @05:12AM (#9038193)
The problem is the standard doesn't guarantee that, so people will inevitably read the standard, decide that they can't actually trust random_device, and then build their own, much worse version.
Re:The bell has tolled for rand() by nly on Thursday February 12, 2015 @07:19AM (#9038455)
And on Linux you can pass the string "/dev/urandom" to the constructor