zofrex (James Sanderson)
- Login: zofrex
- Registered on: 11/11/2020
- Last sign in: 11/11/2020
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
11/26/2020
-
08:38 AM Ruby Misc #17319: Rename Random.urandom to os_random and document random data sources
- Thank for explaining the rationale behind the naming, I understand it now.
How would you feel about a patch just to update the documentation, and leave the method names as they are? The documentation still only lists openssl, urandom,...
11/13/2020
-
01:20 PM Ruby Misc #17319: Rename Random.urandom to os_random and document random data sources
- I don't think `raw_seed` is name that does a good job of communicating what this method does and what it can be used for. I know this method is *used* to seed the OpenSSL random number generator, but its functionality is more broad than ...
11/12/2020
-
08:40 AM Ruby Misc #17319: Rename Random.urandom to os_random and document random data sources
- I hear what you're saying about communicating that it is not coming from `/dev/random`. It's hard to communicate all of that in a method name, because it will be a different source on different OSes or OS versions.
> If we rename the me...
11/11/2020
-
03:49 PM Ruby Misc #17319: Rename Random.urandom to os_random and document random data sources
- [PR here](https://github.com/ruby/ruby/pull/3760)
-
03:47 PM Ruby Misc #17319 (Rejected): Rename Random.urandom to os_random and document random data sources
- SecureRandom gets randomness from `Random.urandom`, which is a confusing name because `urandom` only uses /dev/urandom in some circumstances. On reading the `secure_random.rb` code this morning I got very confused how it was supporting "...