Project

General

Profile

Actions

Feature #12242

closed

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

Feature #12242: Is it worth adding collision probability of SecureRandom functions in RubyDoc?

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

Status:
Feedback
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.

Updated by kgrz (Kashyap K) over 9 years ago Actions #1 [ruby-core:74770]

  • 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 9 years ago Actions #2 [ruby-core:74772]

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 9 years ago Actions #3 [ruby-core:75385]

  • Status changed from Open to Feedback

Updated by duerst (Martin Dürst) over 9 years ago Actions #4 [ruby-core:75514]

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

Actions

Also available in: PDF Atom