るりまサーチ

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

別のキーワード

  1. bigdecimal/util to_d
  2. float to_d
  3. kernel $-d
  4. openssl d
  5. openssl d=

ライブラリ

クラス

キーワード

検索結果

BigDecimal#exponent -> Integer (21102.0)

self の指数部を整数値で返します。

self の指数部を整数値で返します。

OpenSSL::PKey::RSA#d -> OpenSSL::BN (18118.0)

鍵の private exponent です。

...鍵の private exponent です。

これは秘密鍵の一部です。...

OpenSSL::PKey::RSA#dmp1=(new_dmp1) (6217.0)

鍵の exponent1 を設定します。

...鍵の exponent1 を設定します。

通常このメソッドで値を変更することはありません。
よく考えて必要な場合のみ利用してください。

@param new_dmp1 設定する整数...

OpenSSL::PKey::RSA#dmq1=(new_dmq1) (6217.0)

鍵の exponent2 を設定します。

...鍵の exponent2 を設定します。

通常このメソッドで値を変更することはありません。
よく考えて必要な場合のみ利用してください。

@param new_dmq1 設定する整数...

OpenSSL::PKey::RSA#dmp1 -> OpenSSL::BN (6133.0)

鍵の exponent1 (d mod (p-1)) です。

...鍵の exponent1 (d mod (p-1)) です。

秘密鍵の情報です。...

絞り込み条件を変える

OpenSSL::PKey::RSA#dmq1 -> OpenSSL::BN (6133.0)

鍵の exponent2 (d mod (q-1)) です。

...鍵の exponent2 (d mod (q-1)) です。

秘密鍵の情報です。...

OpenSSL::PKey::RSA#d=(new_d) (6125.0)

private exponent を設定します。

...private exponent を設定します。

通常このメソッドで値を変更することはありません。
よく考えて必要な場合のみ利用してください。

@param new_d 設定する整数値...

Integer#pow(other, modulo) -> Integer (107.0)

算術演算子。冪(べき乗)を計算します。

...子。冪(べき乗)を計算します。

@param other 二項演算の右側の引数(対象)
@param modulo 指定すると、計算途中に巨大な値を生成せずに (self**other) % modulo と同じ結果を返します。
@return 計算結果
@raise TypeError 2引数 pow で Integer 以外...
...> -3
5.pow(2, -8) # => -7
//}


計算結果が巨大すぎるときは ArgumentError が発生します。

//emlist[計算結果が巨大すぎる例][ruby]{
p 100**9999999999999999999
# => exponent is too large (ArgumentError)
//}

判定の閾値は変わりえます。

@see BigDecimal#power...