Is this a good way to generate a random string?

And I am now using that base58 shard, thanks :-)

1 Like

One thing I noticed is to_slice.sample yields a UInt8 not an actual Char from the chars variable. So maybe need to change that line to like io.write_byte chars.to_slice.sample.

1 Like