Issue #10849 has been updated by f3ndot (Justin Bull).


As an end user of Ruby, I'd like to be able to generate all sorts of cryptographically secure random characters. There's value in having only alphabetical or alphanumeric random numbers as they are slightly more human readable.

My use case is offline recovery codes that I expect individuals to write down.

----------------------------------------
Feature #10849: Adding an alphanumeric function to SecureRandom
https://bugs.ruby-lang.org/issues/10849#change-66807

* Author: andrewcbutterfield / gmail.com (Andrew Butterfield)
* Status: Open
* Priority: Normal
* Assignee: andrewcbutterfield / gmail.com (Andrew Butterfield)
* Target version: 
----------------------------------------
It would be handy to have a method that produces a random alphanumeric string.

---Files--------------------------------
securerandom.txt (1.32 KB)
securerandom.patch (1.32 KB)
securerandom.patch (2.49 KB)
test_securerandom.patch (641 Bytes)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>