408件ヒット
[1-100件を表示]
(0.121秒)
別のキーワード
ライブラリ
- openssl (408)
クラス
-
OpenSSL
:: BN (108) -
OpenSSL
:: OCSP :: CertificateId (12) -
OpenSSL
:: PKey :: DH (120) -
OpenSSL
:: PKey :: DSA (72) -
OpenSSL
:: PKey :: EC :: Group (24) -
OpenSSL
:: PKey :: RSA (48) -
OpenSSL
:: X509 :: Revoked (24)
キーワード
-
compute
_ key (12) - dmp1 (12)
- dmq1 (12)
- g (24)
- g= (12)
- gcd (12)
-
mod
_ add (12) -
mod
_ exp (12) -
mod
_ inverse (12) -
mod
_ mul (12) -
mod
_ sqr (12) -
mod
_ sub (12) - odd? (12)
- order (12)
- p (24)
- p= (12)
- params (36)
-
prime
_ fasttest? (12) -
priv
_ key (24) -
priv
_ key= (12) -
pub
_ key (24) -
pub
_ key= (12) - q (12)
- serial (24)
- serial= (12)
-
set
_ generator (12)
検索結果
先頭5件
-
OpenSSL
:: PKey :: RSA # d -> OpenSSL :: BN (18203.0) -
鍵の private exponent です。
鍵の private exponent です。
これは秘密鍵の一部です。 -
OpenSSL
:: BN # mod _ add(other , m) -> OpenSSL :: BN (9220.0) -
(self + other) % m を返します。
...(self + other) % m を返します。
//emlist[][ruby]{
require 'openssl'
OpenSSL::BN.new("7").mod_add(OpenSSL::BN.new("3"), OpenSSL::BN.new("6")) # => 4
//}
@param other 和を取る数
@param m 剰余を取る数
@raise OpenSSL::BNError 計算時エラー... -
OpenSSL
:: BN # mod _ exp(other , m) -> OpenSSL :: BN (9220.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 _ mul(other , m) -> OpenSSL :: BN (9220.0) -
(self * other) % m を返します。
...(self * other) % m を返します。
//emlist[][ruby]{
require 'openssl'
OpenSSL::BN.new("7").mod_mul(OpenSSL::BN.new("3"), OpenSSL::BN.new("6")) # => 3
//}
@param other 積を取る数
@param m 剰余を取る数
@raise OpenSSL::BNError 計算時エラー... -
OpenSSL
:: BN # mod _ sub(other , m) -> OpenSSL :: BN (9220.0) -
(self - other) % m を返します。
...(self - other) % m を返します。
//emlist[][ruby]{
require 'openssl'
OpenSSL::BN.new("27").mod_sub(OpenSSL::BN.new("3"), OpenSSL::BN.new("5")) # => 4
//}
@param other 引く数
@param m 剰余を取る数
@raise OpenSSL::BNError 計算時エラー... -
OpenSSL
:: BN # mod _ inverse(m) -> OpenSSL :: BN (9208.0) -
自身の mod m における逆元を返します。
...身の mod m における逆元を返します。
(self * r) % m == 1 となる r を返します。
存在しない場合は例外 OpenSSL::BNError が発生します。
//emlist[][ruby]{
require 'openssl'
p 3.to_bn.mod_inverse(5) # => 2
p (3 * 2) % 5 # => 1
//}
@param m mod を取......る数
@raise OpenSSL::BNError 計算時エラー... -
OpenSSL
:: BN # mod _ sqr(m) -> OpenSSL :: BN (9208.0) -
(self ** 2) % m を返します。
...(self ** 2) % m を返します。
@param m mod を取る数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#sqr... -
OpenSSL
:: BN # gcd(other) -> OpenSSL :: BN (9202.0) -
GCD(最大公約数)を返します。
...GCD(最大公約数)を返します。
@param other 自身との GCD を計算する数
@raise OpenSSL::BNError 計算時エラー... -
OpenSSL
:: BN # odd? -> bool (9101.0) -
自身が奇数である場合に true を返します。
自身が奇数である場合に true を返します。