Project

General

Profile

Feature #12242

Is it worth adding collision probability of SecureRandom functions in RubyDoc?

Added by kgrz (Kashyap K) over 3 years ago. Updated over 3 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:74767]

Description

Is it feasible and/or even useful to document the probability of
collisions for the various random number generation methods in the
SecureRandom module?

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
directly.

History

Updated by kgrz (Kashyap K) over 3 years ago

  • Tracker changed from Bug to Feature

Apologies if I opened this in a wrong format. I'm pretty new to redmine tracker, and unfamiliar with the UI :(

Updated by shevegen (Robert A. Heiler) over 3 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.

Updated by naruse (Yui NARUSE) over 3 years ago

  • Status changed from Open to Feedback

Updated by duerst (Martin Dürst) over 3 years ago

Yui, it may be helpful to say what kind of feedback do you want, and from whom.

Also available in: Atom PDF