Property | Type | Description | |
---|---|---|---|
BigInteger | System | ||
BigInteger | System | ||
BigInteger | System | ||
BigInteger | System | ||
ClearBit | void | ||
Modulus | uint | ||
Normalize | void | ||
SetBit | void | ||
SetBit | void | ||
TestBit | bool | ||
ToString | string | ||
ToString | string | ||
operator | bool | ||
operator | uint |
Method | Description | |
---|---|---|
Add ( |
||
BigInteger ( ) : System | ||
BigInteger ( |
||
BigInteger ( byte inData ) : System | ||
BitCount ( ) : int | ||
Clear ( ) : void | ||
Compare ( |
||
Divid ( |
||
Divid ( |
||
Equals ( object o ) : bool | ||
GCD ( |
||
GeneratePseudoPrime ( int bits ) : |
||
GenerateRandom ( int bits ) : |
Generates a new, random BigInteger of the specified length using the default RNG crypto service provider.
|
|
GenerateRandom ( int bits, |
Generates a new, random BigInteger of the specified length.
|
|
GetBytes ( ) : byte[] | ||
GetHashCode ( ) : int | ||
Incr2 ( ) : void |
Increments this by two
|
|
IsProbablePrime ( ) : bool | ||
LowestSetBit ( ) : int | ||
ModInverse ( |
||
ModPow ( |
||
Modulus ( |
||
Modulus ( |
||
Multiply ( |
||
Multiply ( |
||
NextHighestPrime ( |
Generates the smallest prime >= bi
|
|
Parse ( string number ) : |
||
Randomize ( ) : void |
Randomizes the bits in "this" from the default RNG.
|
|
Randomize ( |
Randomizes the bits in "this" from the specified RNG.
|
|
Subtract ( |
||
TestBit ( int bitNum ) : bool | ||
ToString ( ) : string | ||
operator ( ) : |
||
operator ( ) : int |
Method | Description | |
---|---|---|
BigInteger ( |
||
BigInteger ( Sign sign, uint len ) : System | ||
BigInteger ( uint inData ) : System | ||
BigInteger ( ulong ul ) : System | ||
ClearBit ( uint bitNum ) : void | ||
Modulus ( |
||
Normalize ( ) : void |
Normalizes this by setting the length to the actual number of uints used in data and by setting the sign to Sign.Zero if the value of this is 0.
|
|
SetBit ( uint bitNum ) : void | ||
SetBit ( uint bitNum, bool value ) : void | ||
TestBit ( uint bitNum ) : bool | ||
ToString ( uint radix ) : string | ||
ToString ( uint radix, string characterSet ) : string | ||
operator ( ) : bool | ||
operator ( ) : uint |
public static Add ( |
||
bi1 | ||
bi2 | ||
return |
public static Divid ( |
||
bi1 | ||
bi2 | ||
return |
public static Divid ( |
||
bi | ||
i | int | |
return |
public static GeneratePseudoPrime ( int bits ) : |
||
bits | int | |
return |
public static GenerateRandom ( int bits ) : |
||
bits | int | The number of bits for the new number. |
return |
public static GenerateRandom ( int bits, |
||
bits | int | The number of bits for the new number. |
rng | A random number generator to use to obtain the bits. | |
return |
public ModInverse ( |
||
modulus | ||
return |
public ModPow ( |
||
exp | ||
n | ||
return |
public static Modulus ( |
||
bi1 | ||
bi2 | ||
return |
public static Modulus ( |
||
bi | ||
i | int | |
return | int |
public static Multiply ( |
||
bi1 | ||
bi2 | ||
return |
public static Multiply ( |
||
bi | ||
i | int | |
return |
public static NextHighestPrime ( |
||
bi | A BigInteger | |
return |
public static Parse ( string number ) : |
||
number | string | |
return |
public Randomize ( |
||
rng | A RNG. | |
return | void |
public static Subtract ( |
||
bi1 | ||
bi2 | ||
return |