111件ヒット
[1-100件を表示]
(0.090秒)
別のキーワード
ライブラリ
- ビルトイン (3)
- bigdecimal (12)
- openssl (96)
クラス
- BigDecimal (12)
- Integer (3)
-
OpenSSL
:: PKey :: RSA (96)
検索結果
先頭5件
-
BigDecimal
# exponent -> Integer (24202.0) -
self の指数部を整数値で返します。
self の指数部を整数値で返します。 -
OpenSSL
:: PKey :: RSA # dmp1=(new _ dmp1) (6217.0) -
鍵の exponent1 を設定します。
...鍵の exponent1 を設定します。
通常このメソッドで値を変更することはありません。
よく考えて必要な場合のみ利用してください。
@param new_dmp1 設定する整数... -
OpenSSL
:: PKey :: RSA # dmp1 -> OpenSSL :: BN (6133.0) -
鍵の exponent1 (d mod (p-1)) です。
...鍵の exponent1 (d mod (p-1)) です。
秘密鍵の情報です。... -
OpenSSL
:: PKey :: RSA # d -> OpenSSL :: BN (3117.0) -
鍵の private exponent です。
...鍵の private exponent です。
これは秘密鍵の一部です。... -
OpenSSL
:: PKey :: RSA # dmq1 -> OpenSSL :: BN (3117.0) -
鍵の exponent2 (d mod (q-1)) です。
...鍵の exponent2 (d mod (q-1)) です。
秘密鍵の情報です。... -
OpenSSL
:: PKey :: RSA # e -> OpenSSL :: BN (3117.0) -
鍵の public exponent を返します。
...鍵の public exponent を返します。
これは公開鍵の一部です。... -
Integer
# pow(other) -> Numeric (3113.0) -
算術演算子。冪(べき乗)を計算します。
...べき乗)を計算します。
@param other 二項演算の右側の引数(対象)
@param modulo 指定すると、計算途中に巨大な値を生成せずに (self**other) % modulo と同じ結果を返します。
@return 計算結果
@raise TypeError 2引数 pow で Integer 以外を指定し......引数 pow で other に負の数を指定した場合に発生します。
@raise ArgumentError 計算結果が巨大になりすぎる場合に発生します。
//emlist[][ruby]{
2 ** 3 # => 8
2 ** 0 # => 1
0 ** 0 # => 1
3.pow(3, 8) # => 3
3.pow(3, -8) # => -5
3.pow(2, -2) # => -1
-3.pow(3,......8) # => 5
-3.pow(3, -8) # => -3
5.pow(2, -8) # => -7
//}
計算結果が巨大すぎるときは ArgumentError が発生します。
//emlist[計算結果が巨大すぎる例][ruby]{
p 100**9999999999999999999
# => exponent is too large (ArgumentError)
//}
判定の閾値は変わりえま... -
Integer
# pow(other , modulo) -> Integer (3113.0) -
算術演算子。冪(べき乗)を計算します。
...べき乗)を計算します。
@param other 二項演算の右側の引数(対象)
@param modulo 指定すると、計算途中に巨大な値を生成せずに (self**other) % modulo と同じ結果を返します。
@return 計算結果
@raise TypeError 2引数 pow で Integer 以外を指定し......引数 pow で other に負の数を指定した場合に発生します。
@raise ArgumentError 計算結果が巨大になりすぎる場合に発生します。
//emlist[][ruby]{
2 ** 3 # => 8
2 ** 0 # => 1
0 ** 0 # => 1
3.pow(3, 8) # => 3
3.pow(3, -8) # => -5
3.pow(2, -2) # => -1
-3.pow(3,......8) # => 5
-3.pow(3, -8) # => -3
5.pow(2, -8) # => -7
//}
計算結果が巨大すぎるときは ArgumentError が発生します。
//emlist[計算結果が巨大すぎる例][ruby]{
p 100**9999999999999999999
# => exponent is too large (ArgumentError)
//}
判定の閾値は変わりえま... -
OpenSSL
:: PKey :: RSA # e=(new _ e) (3023.0) -
鍵の public exponent を変更します。
...鍵の public exponent を変更します。
通常このメソッドで値を変更することはありません。
よく考えて必要な場合のみ利用してください。
@param new_e 設定する public exponent の整数値... -
OpenSSL
:: PKey :: RSA # d=(new _ d) (3017.0) -
private exponent を設定します。
...private exponent を設定します。
通常このメソッドで値を変更することはありません。
よく考えて必要な場合のみ利用してください。
@param new_d 設定する整数値... -
OpenSSL
:: PKey :: RSA # dmq1=(new _ dmq1) (3017.0) -
鍵の exponent2 を設定します。
...鍵の exponent2 を設定します。
通常このメソッドで値を変更することはありません。
よく考えて必要な場合のみ利用してください。
@param new_dmq1 設定する整数...