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

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