Actions
Feature #20893
openrandom/formatter.rb: Separate from securerandom
Description
For historical reasons, random/formatter.rb is included in ruby/securerandom, but it does not contain any security-related methods as evidenced by the fact that its path is not under securerandom/
, but only contains generic methods for PRNGs, including the standard class Random
.
So I propose to either:
- put it back in the standard library, or
- separate it into a new gem.
Adding a new dependency may not be welcomed, as seen in the recent issues with base64.
Updated by nobu (Nobuyoshi Nakada) 7 days ago
lol
$ git ls-files -- '**/random/formatter.rb'
lib/bundler/vendor/securerandom/lib/random/formatter.rb
lib/random/formatter.rb
lib/rubygems/vendor/securerandom/lib/random/formatter.rb
Updated by hsbt (Hiroshi SHIBATA) 2 days ago
put it back in the standard library, or
I prefer that approach.
Actions
Like0
Like0Like0