るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.099秒)
トップページ > 種類:モジュール関数[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 (102.0)

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

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

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

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


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