BigIntegers public static class BigIntegers Documentation Code public static readonly BigInteger One public static readonly BigInteger Zero public static byte[] AsUnsignedByteArray(BigInteger n) public static byte[] AsUnsignedByteArray(int length, BigInteger n) public static void AsUnsignedByteArray(BigInteger n, byte[] buf, int off, int len) public static BigInteger CreateRandomBigInteger(int bitLength, SecureRandom secureRandom) Creates a Random BigInteger from the secure random of a given bit length. public static BigInteger CreateRandomInRange(BigInteger min, BigInteger max, SecureRandom random) public static BigInteger FromUnsignedByteArray(byte[] buf) public static BigInteger FromUnsignedByteArray(byte[] buf, int off, int length) public static int GetByteLength(BigInteger n) public static int GetUnsignedByteLength(BigInteger n) public static BigInteger ModOddInverse(BigInteger M, BigInteger X) public static BigInteger ModOddInverseVar(BigInteger M, BigInteger X) public static bool ModOddIsCoprime(BigInteger M, BigInteger X) public static bool ModOddIsCoprimeVar(BigInteger M, BigInteger X)