<PackageReference Include="BouncyCastle.Cryptography" Version="2.7.0-beta.98" />

Org.BouncyCastle.Math.BigInteger

namespace Org.BouncyCastle.Math { public sealed class BigInteger : IComparable, IComparable<BigInteger>, IEquatable<BigInteger> { public static readonly BigInteger Zero; public static readonly BigInteger One; public static readonly BigInteger Two; public static readonly BigInteger Three; public static readonly BigInteger Four; public static readonly BigInteger Five; public static readonly BigInteger Six; public static readonly BigInteger Seven; public static readonly BigInteger Eight; public static readonly BigInteger Nine; public static readonly BigInteger Ten; public int BitCount { get; } public int BitLength { get; } public int IntValue { get; } public int IntValueExact { get; } public long LongValue { get; } public long LongValueExact { get; } public int SignValue { get; } public static BigInteger Arbitrary(int sizeInBits); public BigInteger(string value); public BigInteger(string str, int radix); public BigInteger(byte[] bytes); public BigInteger(byte[] bytes, bool bigEndian); public BigInteger(byte[] bytes, int offset, int length); public BigInteger(byte[] bytes, int offset, int length, bool bigEndian); public BigInteger(int sign, byte[] bytes); public BigInteger(int sign, byte[] bytes, bool bigEndian); public BigInteger(int sign, byte[] bytes, int offset, int length); public BigInteger(int sign, byte[] bytes, int offset, int length, bool bigEndian); public BigInteger(int sizeInBits, Random random); public BigInteger(int bitLength, int certainty, Random random); public BigInteger Abs(); public BigInteger Add(BigInteger value); public BigInteger And(BigInteger value); public BigInteger AndNot(BigInteger val); public int CompareTo(object obj); public int CompareTo(BigInteger other); public BigInteger Divide(BigInteger val); public BigInteger[] DivideAndRemainder(BigInteger val); public bool Equals(BigInteger other); public BigInteger Gcd(BigInteger value); public bool IsProbablePrime(int certainty); public bool RabinMillerTest(int certainty, Random random); public BigInteger Max(BigInteger value); public BigInteger Min(BigInteger value); public BigInteger Mod(BigInteger m); public BigInteger ModDivide(BigInteger y, BigInteger m); public BigInteger ModInverse(BigInteger m); public BigInteger ModMultiply(BigInteger y, BigInteger m); public BigInteger ModSquare(BigInteger m); public BigInteger ModPow(BigInteger e, BigInteger m); public BigInteger Multiply(BigInteger val); public BigInteger Square(); public BigInteger Negate(); public BigInteger NextProbablePrime(); public BigInteger Not(); public BigInteger Pow(int exp); public static BigInteger ProbablePrime(int bitLength, Random random); public BigInteger Remainder(BigInteger n); public BigInteger ShiftLeft(int n); public BigInteger ShiftRight(int n); public BigInteger Subtract(BigInteger n); public int GetLengthofByteArray(); public int GetLengthofByteArrayUnsigned(); public byte[] ToByteArray(); public byte[] ToByteArrayUnsigned(); public string ToString(int radix); public static BigInteger ValueOf(int value); public static BigInteger ValueOf(long value); public int GetLowestSetBit(); public bool TestBit(int n); public BigInteger Or(BigInteger value); public BigInteger Xor(BigInteger value); public BigInteger SetBit(int n); public BigInteger ClearBit(int n); public BigInteger FlipBit(int n); } }