Example #1
0
 /**
  * Sets the mode for this object to decrypt and encrypt using the provided key.
  *
  * @param key Private key which this class will use to encrypt and decrypt
  */
 public void setDecryptEncrypt(PaillierPrivateKey key) {
   setDecryption(key);
   setEncryption(key);
   return;
 }