るりまサーチ (Ruby 2.6.0)

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

別のキーワード

  1. pop enable_ssl
  2. pop disable_ssl
  3. pop3 enable_ssl
  4. pop3 disable_ssl
  5. pop use_ssl?

ライブラリ

クラス

検索結果

OpenSSL::BN#mod_mul(other, m) -> OpenSSL::BN (72922.0)

(self * other) % m を返します。

(self * other) % m を返します。

//emlist[][ruby]{
require 'openssl'

OpenSSL::BN.new("7").mod_mul(OpenSSL::BN.new("3"), OpenSSL::BN.new("6")) # => 3
//}

@param other 積を取る数
@param m 剰余を取る数
@raise OpenSSL::BNError 計算時エラー

OpenSSL::BN#*(other) -> OpenSSL::BN (18619.0)

自身と other の積を返します。

自身と other の積を返します。

@param other かける数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#mod_mul