4 ms·
Question: Would it help mitigate timing attacks if the function would sleep for a random amount of time?
by daveid 12y ago
Question: Would it help mitigate timing attacks if the function would sleep for a random amount of time?
- zaroth 12y agoIt does add more noise, which means you need more samples to detect the timing differences from the comparison. But it's generally not accepted as a 'solution' compared to making the function constant-time.