You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the probabilities haven't been properly considered. Do we have equal chance of getting all numbers in a 1d20 roll? If random.randint is not cryptographically secure, does that mean that will affect our probabilities enough to be worthwhile to switch to something that is? One of the issues is that cryptographically secure pseudorandom number generators would either require using the operating system's one, something that is not guaranteed on emulated systems like Termux for android. Maybe have the os version and then fall back to the random module if it's not available?
The text was updated successfully, but these errors were encountered:
Right now the probabilities haven't been properly considered. Do we have equal chance of getting all numbers in a 1d20 roll? If random.randint is not cryptographically secure, does that mean that will affect our probabilities enough to be worthwhile to switch to something that is? One of the issues is that cryptographically secure pseudorandom number generators would either require using the operating system's one, something that is not guaranteed on emulated systems like Termux for android. Maybe have the os version and then fall back to the random module if it's not available?
The text was updated successfully, but these errors were encountered: