944件ヒット
[1-100件を表示]
(0.092秒)
ライブラリ
- openssl (944)
クラス
- Integer (12)
-
OpenSSL
:: BN (524) -
OpenSSL
:: OCSP :: CertificateId (12) -
OpenSSL
:: PKey :: DH (120) -
OpenSSL
:: PKey :: DSA (72) -
OpenSSL
:: PKey :: EC (24) -
OpenSSL
:: PKey :: EC :: Group (36) -
OpenSSL
:: PKey :: EC :: Point (12) -
OpenSSL
:: PKey :: RSA (108) -
OpenSSL
:: X509 :: Revoked (24)
キーワード
- % (12)
- * (12)
- ** (12)
- + (12)
- - (12)
-
/ (12) - << (12)
- <=> (12)
- == (12)
- === (12)
- >> (12)
-
bit
_ set? (12) -
clear
_ bit! (12) - cmp (12)
- coerce (12)
- cofactor (12)
-
compute
_ key (12) - copy (12)
- d (12)
- dmp1 (12)
- dmq1 (12)
- e (12)
- eql? (12)
- g (24)
- g= (12)
- gcd (12)
- iqmp (12)
- lshift! (12)
-
mask
_ bits! (12) -
mod
_ add (12) -
mod
_ exp (12) -
mod
_ inverse (12) -
mod
_ mul (12) -
mod
_ sqr (12) -
mod
_ sub (12) - n (12)
- negative? (8)
-
num
_ bits (12) -
num
_ bytes (12) - odd? (12)
- one? (12)
- order (12)
- p (36)
- p= (12)
- params (36)
-
pretty
_ print (12) - prime? (24)
-
prime
_ fasttest? (12) -
priv
_ key (24) -
priv
_ key= (12) -
private
_ key (12) -
private
_ key= (12) -
pub
_ key (24) -
pub
_ key= (12) - q (24)
- rshift! (12)
- serial (24)
- serial= (12)
-
set
_ bit! (12) -
set
_ generator (12) - sqr (12)
-
to
_ bn (36) -
to
_ i (12) -
to
_ int (12) -
to
_ s (12) - ucmp (12)
- zero? (12)
検索結果
先頭5件
-
OpenSSL
:: BN # / (other) -> [OpenSSL :: BN , OpenSSL :: BN] (21209.0) -
自身を other で割った商と余りを配列で返します。
...自身を other で割った商と余りを配列で返します。
@param other 除数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#mod_inverse... -
OpenSSL
:: BN # <<(other) -> OpenSSL :: BN (21120.0) -
自身を other ビット左シフトした値を返します。
...自身を other ビット左シフトした値を返します。
//emlist[][ruby]{
bn = 1.to_bn
pp bn << 1 # => #<OpenSSL::BN 2>
pp bn # => #<OpenSSL::BN 1>
//}
@param other シフトするビット数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#lshift!... -
OpenSSL
:: BN # >>(other) -> OpenSSL :: BN (21120.0) -
自身を other ビット右シフトした値を返します。
...自身を other ビット右シフトした値を返します。
//emlist[][ruby]{
require 'openssl'
bn = 2.to_bn
bn >> 1 # => #<OpenSSL::BN 1>
bn # => #<OpenSSL::BN 2>
//}
@param other シフトするビット数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#rshift!... -
OpenSSL
:: BN # mod _ add(other , m) -> OpenSSL :: BN (21120.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 (21120.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 (21120.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 (21120.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 # *(other) -> OpenSSL :: BN (21108.0) -
自身と other の積を返します。
...自身と other の積を返します。
@param other かける数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#mod_mul... -
OpenSSL
:: BN # **(other) -> OpenSSL :: BN (21108.0) -
自身の other 乗を返します。
...自身の other 乗を返します。
@param other 指数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#mod_exp...