Actions
Feature #14052
openIntroduce SecureRandom.with_chars
Status:
Open
Assignee:
-
Target version:
-
Description
ref. https://bugs.ruby-lang.org/issues/10849
This request renames SecureRandom.choose to .with_chars and makes it public.
(I think it would be a better name.)
For example, when generating passwords for users,
I'd like to avoid using characters "O" and "0" (or I, l, 1, ...) because they are confusing.
SecureRandom.with_chars would be useful to do this.
Files
Actions
Like0
Like0Like0Like0