1 2 3 4
alphanumerics = [*('0'..'9')] + [*('A'..'Z')] + [*('a'..'z')] (0...25).map { alphanumerics[Kernel.rand(alphanumerics.size)] }.join ...
Ruby Generating a string of rand...
So this is kind of trivial ...
1 2 3 4
alphanumerics = [*('0'..'9')] + [*('A'..'Z')] + [*('a'..'z')] (0...25).map { alphanumerics[Kernel.rand(alphanumerics.size)] }.join ...
So this is kind of trivial ...
Edit: Noticed that you had ...