Exemple #1
0
        public void AES_Encrypt_Decrypt_Test()
        {
            var expected = "etwfwefewfwefwefwwefwe";
            var password = "******";

            var encrypted = CryptUtils.AES_Encrypt(expected, password);
            var actual    = CryptUtils.AES_Decrypt(encrypted, password);

            Assert.Equal(expected, actual);
        }