Hacker News new | ask | show | jobs
by yobbo 1480 days ago
xor will not overflow and is obviously correct.

I'm not sure modulus-addition would be correct.