Is it worth adding collision probability of SecureRandom functions in RubyDoc?
Is it feasible and/or even useful to document the probability of
collisions for the various random number generation methods in the
I feel having a note to read about the possibility of collisions
happening for the various key lengths and generator functions might help
a lot of beginners. Although there are many birthday paradox checkers
online, I felt it would be a nice to have on the documentation pages
Updated by shevegen (Robert A. Heiler) almost 5 years ago
You mean you suggest to have the documentation better?
The UI can be a bit confusing I agree, I'd like to have a separate tracker for documentation, since docu is definitely not a "bug", but also not 100% a real "feature" (since the latter should imply behavioural changes).
I am all in favour of better documentation - I know next to nothing about collisions in SecureRandom at all.