import(engine){
        this.isSecure = false;
        this.g = engine.g;
        this.p = engine.p;
        this.y = engine.p;
        this.securityLevel = engine.security;
        this.x = engine.x;
    }
/**
     * This method will import ElGamal engine based on passed info.
     * @param {Engine} engine - The ElGamal info which is exported using export() method.
     */
This method will import ElGamal engine based on passed info.
@param {Engine} engine - The ElGamal info which is exported using export() method.
This method will import ElGamal engine based on passed info . @param { Engine } engine - The ElGamal info which is exported using export () method .
import(engine){
        this.isSecure = false;
        this.g = engine.g;
        this.p = engine.p;
        this.y = engine.p;
        this.securityLevel = engine.security;
        this.x = engine.x;
    }
import ( engine ) { this . isSecure = false ; this . g = engine . g ; this . p = engine . p ; this . y = engine . p ; this . securityLevel = engine . security ; this . x = engine . x ; }
This method will import ElGamal engine based on passed info.
This method will import ElGamal engine based on passed info .