1085件ヒット
[101-200件を表示]
(0.021秒)
別のキーワード
種類
- インスタンスメソッド (865)
- 特異メソッド (165)
- クラス (22)
- モジュール関数 (22)
- モジュール (11)
クラス
- Integer (11)
-
OpenSSL
:: ASN1 :: Integer (22) -
OpenSSL
:: BN (568) -
OpenSSL
:: OCSP :: CertificateId (11) -
OpenSSL
:: PKey :: DH (110) -
OpenSSL
:: PKey :: DSA (66) -
OpenSSL
:: PKey :: EC (22) -
OpenSSL
:: PKey :: EC :: Group (55) -
OpenSSL
:: PKey :: EC :: Point (44) -
OpenSSL
:: PKey :: RSA (99) -
OpenSSL
:: X509 :: Revoked (22)
モジュール
-
OpenSSL
:: ASN1 (22)
キーワード
- % (11)
- * (11)
- ** (11)
- + (11)
- - (11)
-
/ (11) - << (11)
- <=> (11)
- == (11)
- === (11)
- >> (11)
- BNError (11)
- Integer (22)
- Random (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)
-
generate
_ prime (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)
- new (110)
-
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) -
pseudo
_ rand (11) -
pseudo
_ rand _ range (11) -
pub
_ key (22) -
pub
_ key= (11) - q (22)
- rand (11)
-
rand
_ range (11) - 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 (3145.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 . new(integer) -> OpenSSL :: BN (3142.0) -
整数オブジェクト(Integer)から多倍長整数オブジェクト (OpenSSL::BN)を生成します。
...整数オブジェクト(Integer)から多倍長整数オブジェクト
(OpenSSL::BN)を生成します。
@param integer 整数オブジェクト
@see Integer#to_bn... -
OpenSSL
:: BN # mod _ add(other , m) -> OpenSSL :: BN (3121.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 (3121.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 (3121.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 (3121.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 . pseudo _ rand(bits , fill=0 , odd=false) -> OpenSSL :: BN (3115.0) -
乱数を生成し、返します。
...@param bits 発生させる数のビット数
@param fill 上位ビットの性質を決める整数
@param odd 真なら発生させる数は奇数のみとなる
@raise OpenSSL::BNError 乱数の生成に失敗した場合に発生します
@see OpenSSL::BN.rand, OpenSSL::BN.pseudo_rand_range... -
OpenSSL
:: BN . pseudo _ rand _ range(range) -> OpenSSL :: BN (3115.0) -
乱数を 0 から range-1 までの間で生成し、返します。
...を 0 から range-1 までの間で生成し、返します。
乱数系列に暗号論的な強さはありません。
@param range 生成する乱数の範囲
@raise OpenSSL::BNError 乱数の生成に失敗した場合に発生します
@see OpenSSL::BN.pseudo_rand, OpenSSL::BN.rand_range... -
OpenSSL
:: BN . rand(bits , fill=0 , odd=false) -> OpenSSL :: BN (3115.0) -
暗号論的に強い擬似乱数を生成し、返します。
...@param bits 発生させる数のビット数
@param fill 上位ビットの性質を決める整数
@param odd 真なら発生させる数は奇数のみとなる
@raise OpenSSL::BNError 乱数の生成に失敗した場合に発生します
@see OpenSSL::BN.pseudo_rand, OpenSSL::BN.rand_range... -
OpenSSL
:: BN . rand _ range(range) -> OpenSSL :: BN (3115.0) -
暗号論的に強い擬似乱数を 0 から range-1 までの間で生成し、返します。
...暗号論的に強い擬似乱数を 0 から range-1 までの間で生成し、返します。
@param range 生成する乱数の範囲
@raise OpenSSL::BNError 乱数の生成に失敗した場合に発生します
@see OpenSSL::BN.rand, OpenSSL::BN.pseudo_rand_range...