3 ms·
For this case, could one just introduce another mod operation which produces result + 1? In this case: ($i + 1) % $safeLen Even so, I guess the only way t
by annnnd 12y ago
For this case, could one just introduce another mod operation which produces result + 1? In this case:
($i + 1) % $safeLen
Even so, I guess the only way to eliminate timing attacks would be to write a set of primitive operations (XOR, AND, OR, ORD,...) which are constant-time (on the supported hardware platform) and only use those wherever the private information is handled. Is this possible to do? Are there any attempts at this?