Feature #4938

Add Random.bytes [patch]

Added by Marc-Andre Lafortune almost 3 years ago. Updated over 1 year ago.

Assignee:Nobuyoshi Nakada
Target version:next minor


It could be useful to add a Random.bytes method (equivalent to Random::DEFAULT.bytes), as per the simple patch attached.

randombytes.diff Magnifier (2.19 KB) Marc-Andre Lafortune, 06/28/2011 12:58 AM


#1 Updated by Shyouhei Urabe about 2 years ago

  • Status changed from Open to Assigned

#2 Updated by Marc-Andre Lafortune over 1 year ago

Comment about this trivial feature would be appreciated.

#3 Updated by Kenta Murata over 1 year ago

  • Target version changed from 2.0.0 to next minor

I think it is useful and acceptable to introduce, but 2.0 is already frozen about its features, so the target version should be next-minor.

Also available in: Atom PDF