public BigNumber modPow(BigNumber val1, BigNumber val2) { return new BigNumber(bigInteger.modPow(val1.getInt(), val2.getInt())); }
public BigNumber add(BigNumber val) { return new BigNumber(bigInteger.add(val.getInt())); }
public BigNumber multiply(BigNumber val) { return new BigNumber(bigInteger.multiply(val.getInt())); }
public BigNumber remainder(BigNumber val) { return new BigNumber(bigInteger.remainder(val.getInt())); }
public boolean equals(BigNumber b) { return (b.toHexString().equals(this.toHexString())); }