5 ms·
You can also just add all the random numbers chosen between 0 and n-1 and take the result modulo n. So just normal modular arithmetic no xor.
by benmmurphy 4y ago
You can also just add all the random numbers chosen between 0 and n-1 and take the result modulo n. So just normal modular arithmetic no xor.