/// <summary>
 /// Decrypt a message
 /// </summary>
 /// <param name="encryption">The encryption algorithm used to encrypt the message</param>
 /// <returns>true on success</returns>
 public bool Decrypt(NetEncryption encryption)
 {
     return(encryption.Decrypt(this));
 }
Beispiel #2
0
 /// <summary>
 /// Decrypt a message
 /// </summary>
 /// <param name="encryption">The encryption algorithm used to encrypt the message</param>
 /// <returns>true on success</returns>
 public bool Decrypt(NetEncryption encryption)
 {
     return encryption.Decrypt(this);
 }
 public bool Encrypt(NetEncryption encryption)
 {
     throw new NotImplementedException();
 }