SecureRandom.uuid (Ruby 3.3 リファレンスマニュアル)

バージョン 4 の UUID (Universally Unique IDentifier) を生成して返します。