るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.092秒)

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

クラス

検索結果

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

自身の other 乗を返します。

...自身の other 乗を返します。

@
param other 指数
@
raise OpenSSL::BNError 計算時エラー
@
see OpenSSL::BN#mod_exp...

OpenSSL::BN#mod_exp(other, m) -> OpenSSL::BN (137.0)

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

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

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

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

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