void Decrypt(object obj) { if (rsaxml is null) { rsaxml = new RSAXML(); } ShowKey(obj); CipherBytes = "Done"; string temp = File.ReadAllText(FileChoice); byte[] toDecrypt = Convert.FromBase64String(temp); byte[] decrypted = rsaxml.Decrypt(toDecrypt); PlainText = Encoding.ASCII.GetString(decrypted); }