multiply(a, b){
        if(typeof a === 'string')
            a = bigInteger(a);
        if(typeof b === 'string')
            b = bigInteger(b);

        return a.multiply(b).mod(this.p);
    }
/**
     * calculate: a * b mod modulus. It works independent of ElGamal, it means you can use it 
     * even if ElGamal fails security conditions.
     * This method is not part of elgamal but part of basic group functionality! it's provided
     * here to reduce the complexity of dependencies.
     * @param {bigInteger.BigInteger|string} a - The first number
     * @param {bigInteger.BigInteger|string} b - The second number to be multiplying in a
     * @returns {bigInteger.BigInteger} - The resulted modular multiplication.
     */
a * b mod modulus. It works independent of ElGamal, it means you can use it
even if ElGamal fails security conditions.
This method is not part of elgamal but part of basic group functionality. it's provided
here to reduce the complexity of dependencies.
@param {bigInteger.BigInteger|string} a - The first number
@param {bigInteger.BigInteger|string} b - The second number to be multiplying in a
@returns {bigInteger.BigInteger} - The resulted modular multiplication.
a * b mod modulus . It works independent of ElGamal it means you can use it even if ElGamal fails security conditions . This method is not part of elgamal but part of basic group functionality . it ' s provided here to reduce the complexity of dependencies . @param { bigInteger . BigInteger|string } a - The first number @param { bigInteger . BigInteger|string } b - The second number to be multiplying in a @returns { bigInteger . BigInteger } - The resulted modular multiplication .
multiply(a, b){
        if(typeof a === 'string')
            a = bigInteger(a);
        if(typeof b === 'string')
            b = bigInteger(b);
        return a.multiply(b).mod(this.p);
    }
multiply ( a , b ) { if ( typeof a === 'string' ) a = bigInteger ( a ) ; if ( typeof b === 'string' ) b = bigInteger ( b ) ; return a . multiply ( b ) . mod ( this . p ) ; }
calculate: a * b mod modulus.
calculate : a * b mod modulus .