public void TestAesDecrypt()
        {
            var certPath  = String.Concat(Directory.GetCurrentDirectory(), "\\..\\..\\..\\cert\\x509\\cert.pfx").Replace("\\", Path.DirectorySeparatorChar.ToString());
            var ssl       = new X509Crypt(certPath);
            var encrypted = ssl.Encrypt("test");
            var decrypted = ssl.Decrypt(encrypted);

            Assert.AreEqual(decrypted, "test");
        }
 public void TestNewAes()
 {
     var certPath = String.Concat(Directory.GetCurrentDirectory(), "\\..\\..\\..\\cert\\x509\\cert.pfx").Replace("\\", Path.DirectorySeparatorChar.ToString());
     var ssl      = new X509Crypt(certPath);
 }