るりまサーチ (Ruby 2.4.0)

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

別のキーワード

  1. openssl compute_key
  2. dh compute_key
  3. ec dh_compute_key
  4. openssl dh_compute_key
  5. compute_key integer

ライブラリ

クラス

検索結果

OpenSSL::PKey::DH#compute_key(bn) -> String (54322.0)

自分の秘密鍵と相手の公開鍵から鍵文字列を計算し、返します。

自分の秘密鍵と相手の公開鍵から鍵文字列を計算し、返します。

相手の公開鍵は OpenSSL::BN か Integer である必要があります。

@param bn 相手の公開鍵(OpenSSL::BN)