865件ヒット
[1-100件を表示]
(0.124秒)
ライブラリ
- openssl (865)
クラス
- Integer (11)
-
OpenSSL
:: BN (480) -
OpenSSL
:: OCSP :: CertificateId (11) -
OpenSSL
:: PKey :: DH (110) -
OpenSSL
:: PKey :: DSA (66) -
OpenSSL
:: PKey :: EC (22) -
OpenSSL
:: PKey :: EC :: Group (33) -
OpenSSL
:: PKey :: EC :: Point (11) -
OpenSSL
:: PKey :: RSA (99) -
OpenSSL
:: X509 :: Revoked (22)
キーワード
- % (11)
- * (11)
- ** (11)
- + (11)
- - (11)
-
/ (11) - << (11)
- <=> (11)
- == (11)
- === (11)
- >> (11)
-
bit
_ set? (11) -
clear
_ bit! (11) - cmp (11)
- coerce (11)
- cofactor (11)
-
compute
_ key (11) - copy (11)
- d (11)
- dmp1 (11)
- dmq1 (11)
- e (11)
- eql? (11)
- g (22)
- g= (11)
- gcd (11)
- iqmp (11)
- lshift! (11)
-
mask
_ bits! (11) -
mod
_ add (11) -
mod
_ exp (11) -
mod
_ inverse (11) -
mod
_ mul (11) -
mod
_ sqr (11) -
mod
_ sub (11) - n (11)
- negative? (7)
-
num
_ bits (11) -
num
_ bytes (11) - odd? (11)
- one? (11)
- order (11)
- p (33)
- p= (11)
- params (33)
-
pretty
_ print (11) - prime? (22)
-
prime
_ fasttest? (11) -
priv
_ key (22) -
priv
_ key= (11) -
private
_ key (11) -
private
_ key= (11) -
pub
_ key (22) -
pub
_ key= (11) - q (22)
- rshift! (11)
- serial (22)
- serial= (11)
-
set
_ bit! (11) -
set
_ generator (11) - sqr (11)
-
to
_ bn (33) -
to
_ i (11) -
to
_ int (11) -
to
_ s (11) - ucmp (11)
- zero? (11)
検索結果
先頭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... -
OpenSSL
:: BN # +(other) -> OpenSSL :: BN (21108.0) -
自身と other の和を返します。
...自身と other の和を返します。
@param other 足す整数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#mod_add...