4 ms·
rand() + rand() does not give normal. If there is any statistical difference between the timings, it's in theory possible to break. An easy mitigation would be
by z77dj3kl 6y ago
rand() + rand() does not give normal. If there is any statistical difference between the timings, it's in theory possible to break.
An easy mitigation would be to just drop the card number into a queue and process asynchronously without waiting and returning to the user.
- kevin_thibedeau 6y agoFlood the queue with invalid numbers and timings can still be worked out.