public void Aes_StringEncryption_Test() { //Arrange var data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"; var aes = new AES256(); //Act var encryptedString = aes.EncryptString(data, EncryptionKey); var result = aes.DecryptString(encryptedString, EncryptionKey); //Assert Assert.AreEqual(data, result); }