るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.068秒)
トップページ > バージョン:2.1.0[x] > 種類:モジュール関数[x] > クエリ:h[x] > モジュール:OpenSSL::Random[x]

別のキーワード

  1. _builtin to_h
  2. env to_h
  3. hash to_h
  4. array to_h
  5. struct to_h

ライブラリ

検索結果

OpenSSL::Random.#egd_bytes(filename, length) -> true (307.0)

EGD(Entropy Gathering Daemon) から length バイト分のエントロピーを得ます。

...domain socket から EGD に問い合わせ、
指定した大きさのエントロピーを乱数生成器に追加します。

@param filename EGD のソケットのファイル名
@param length 読み込むバイト数
@raise OpenSSL::Random::RandomError


@raise OpenSSL::Random::RandomError...