コード例 #1
0
        static void decionEncrypt(string dir, Dictionary <char, char> enkey)
        {
            Console.WriteLine("User chose to enter data......");
            Console.WriteLine();


            Console.WriteLine("Enter email :");
            string email = Console.ReadLine();

            Console.WriteLine("Enter password :");
            string password = Console.ReadLine();

            encrypt _encrytObj    = new encrypt();
            string  encryptedText = _encrytObj.funcEncrypt(password, enkey);

            _encrytObj.saveEncrypt(email, encryptedText, dir);
        }
コード例 #2
0
        static void decionEncrypt(string dir, Dictionary <char, char> enkey)
        {
            encrypt s = new encrypt();

            Console.WriteLine("User chose to enter data......");
            Console.WriteLine();


            Console.WriteLine("Enter email :");
            string email = Console.ReadLine();

            Console.WriteLine("Enter password :");
            string password = Console.ReadLine();


            string a = s.funcEncrypt(password, enkey);

            s.saveEncrypt(email, a, dir);
        }