るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.029秒)
トップページ > バージョン:2.3.0[x] > クエリ:version[x] > モジュール:SecureRandom[x]

別のキーワード

  1. openssl version
  2. rss version
  3. rss version=
  4. rss rss_version
  5. zlib zlib_version

ライブラリ

検索結果

SecureRandom.uuid -> String (22.0)

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

...ある情報を含みません。

@raise NotImplementedError 安全な乱数発生器が使えない場合に発生します。

require 'securerandom'
p SecureRandom.uuid #=> "2d931510-d99f-494a-8c67-87feb05e1594"
p SecureRandom.uuid #=> "62936e70-1815-439b-bf89-8492855a7e6b"

@see 4122...