Exemple #1
0
        public void StringCrypt_Basic_Implicit()
        {
            string input = "test 123 %$#";

            byte[] output      = StringCrypt.Encrypt(input);
            string outputFinal = StringCrypt.Decrypt(output);

            Assert.AreEqual(input, outputFinal, "String output should be as exected after decrypt.");
        }