SecureRandom.urlsafe_base64 (Ruby 3.4 リファレンスマニュアル)
ランダムで URL-safe な base64 文字列を生成して返します。