Project

General

Profile

Actions

Feature #12242

closed

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

Added by kgrz (Kashyap K) almost 8 years ago. Updated almost 8 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) almost 8 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) almost 8 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) almost 8 years ago

  • Status changed from Open to Feedback

Updated by duerst (Martin Dürst) almost 8 years ago

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0