るりまサーチ (Ruby 2.7.0)

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

別のキーワード

  1. openssl new
  2. openssl digest
  3. openssl to_der
  4. openssl to_s
  5. openssl hexdigest

ライブラリ

クラス

検索結果

OpenSSL::BN#sqr -> OpenSSL::BN (105961.0)

自身の2乗を計算します。

自身の2乗を計算します。

@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#mod_sqr

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

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

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

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