예제 #1
0
파일: Program.cs 프로젝트: lycilph/Projects
        static void Main(string[] args)
        {
            var aes = new SimpleAES();

            var text           = "abc";
            var text_encrypted = aes.Encrypt(text);
            var text_decrypted = aes.Decrypt(text_encrypted);

            Console.WriteLine("Clear text: " + text);
            Console.WriteLine("Encrypted text: " + text_encrypted);
            Console.WriteLine("Decrypted text: " + text_decrypted);

            Console.ReadKey();
        }
예제 #2
0
파일: Program.cs 프로젝트: lycilph/Projects
        static void Main(string[] args)
        {
            var aes = new SimpleAES();

            var text = "abc";
            var text_encrypted = aes.Encrypt(text);
            var text_decrypted = aes.Decrypt(text_encrypted);

            Console.WriteLine("Clear text: " + text);
            Console.WriteLine("Encrypted text: " + text_encrypted);
            Console.WriteLine("Decrypted text: " + text_decrypted);

            Console.ReadKey();
        }