public ECIESKeyEncapsulation(DerivationFunction kdf,SecureRandom rnd){
  this.kdf=kdf;
  this.rnd=rnd;
  this.CofactorMode=false;
  this.OldCofactorMode=false;
  this.SingleHashMode=false;
}

public ECIESKeyEncapsulation ( DerivationFunction kdf , SecureRandom rnd ) { this . kdf = kdf ; this . rnd = rnd ; this . CofactorMode = false ; this . OldCofactorMode = false ; this . SingleHashMode = false ; }
set up the ecies - kem .
