4 ms·
> If you seed with nanoseconds it'll be a lot harder. Not really. Or rather, a lot of zero is zero.
by kaoD 9y ago
> If you seed with nanoseconds it'll be a lot harder.
Not really. Or rather, a lot of zero is zero.
- mikeash 9y agoCan you elaborate? I'm assuming the nanosecond-precision lock seeding the RNG is based on wall clock time or system uptime, so as long as the clock is actually that precise (and why not, when the base clock signal in the CPU is ticking a couple of times each nanosecond) you'll get that many digits.
- kaoD 9y agoNanosecond resolution multiplies the brute force effort by 10^9, which is negligible.