ruby-randomstring Installation To install randomstring, use rubygems: $ gem install randomstring Usage require 'randomstring' Randomstring.generate # >> "XwPp9xazJ0ku5CZnlmgAx2Dld8SHkAeT" Randomstring.generate(7) # >> "xqm5wXX" LICENSE ruby-randomstring is licensed under the MIT license.