Exemplo n.º 1
0
BigInteger BigInteger::sub(const BigInteger &b) const
{
	BigInteger r;
	BigNum::sub(r, *this, b);

	r.debugInitStr();
    return r;
}
Exemplo n.º 2
0
BigInteger BigInteger::modExp(const BigInteger &power, const BigInteger &modulo, const BigInteger &recip, short nb) const
{
	BigInteger r;
	BigNum::modExp(r, *this, power, modulo,recip,nb);

	r.debugInitStr();
    return r;
}
Exemplo n.º 3
0
BigInteger BigInteger::modExp(const BigInteger &power, const BigInteger &modulo) const
{
	BigInteger r;
	BigNum::modExp(r, *this, power, modulo);

	r.debugInitStr();
    return r;
}
Exemplo n.º 4
0
BigInteger BigInteger::inverseModN(const BigInteger &n) const
{
	BigInteger r;

	BigNum::inverseModN(r,*this, n);

	r.debugInitStr();
    return r;
}