public static void DecryptMenu() { Console.WriteLine("Write text: "); string encryptedText = Console.ReadLine(); Console.WriteLine("Write encrypt password: "******"Text Written: " + decryptedText);; }
public static void EncryptMenu() { Console.WriteLine("Write text: "); string text = Console.ReadLine(); Console.WriteLine("Write encrypt password: "); string password = Console.ReadLine(); string encryptedText = TextAESEncryptor.TextEncrypt(text, password); Console.WriteLine(encryptedText); }