るりまサーチ (Ruby 2.3.0)

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

別のキーワード

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

ライブラリ

クラス

キーワード

検索結果

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

自身の other 乗を返します。

自身の other 乗を返します。

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

OpenSSL::BN#mod_exp(other, m) -> OpenSSL::BN (18949.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 計算時エラー

OpenSSL::BN#mod_sqr(m) -> OpenSSL::BN (18949.0)

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

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

@param m mod を取る数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#sqr