get privateKey(){
        if(this.securityLevel === 'LOW')
            return this.x.toString();
        else
            throw new Error('Violating security policies. First set the security level to \'LOW\'');
    }
/**
     * Will return the private key if and only if the securityLevel is 'LOW'.
     * We strongly advise to avoid calling this method, 
     *  because this method return the flat private key and not 
     *  ElGamal private key
     * @type {string?}
     * @throws Will throw an Error if securityLevel is not 'LOW'
     */
Will return the private key if and only if the securityLevel is 'LOW'.
We strongly advise to avoid calling this method,
because this method return the flat private key and not
ElGamal private key
@type {string?}
@throws Will throw an Error if securityLevel is not 'LOW'
Will return the private key if and only if the securityLevel is ' LOW ' . We strongly advise to avoid calling this method because this method return the flat private key and not ElGamal private key @type { string? } @throws Will throw an Error if securityLevel is not ' LOW '
get privateKey(){
        if(this.securityLevel === 'LOW')
            return this.x.toString();
        else
            throw new Error('Violating security policies. First set the security level to \'LOW\'');
    }
get privateKey ( ) { if ( this . securityLevel === 'LOW' ) return this . x . toString ( ) ; else throw new Error ( 'Violating security policies. First set the security level to \'LOW\'' ) ; }
Will return the private key if and only if the securityLevel is 'LOW'.
Will return the private key if and only if the securityLevel is ' LOW ' .