public void EncryptDecryptMessageTest(string str) { var encrypted = InternalMessageParser.EnctyptMessage(str); var decrypted = InternalMessageParser.DecryptMessage(encrypted); Assert.AreEqual(str, decrypted); }
public void DecryptMessageTest(byte[] t, string expected) { var actual = InternalMessageParser.DecryptMessage(t); Assert.AreEqual(expected, actual); }