private void decodeImage() { bool padding = oaepPadding.Checked; if (rsa != null) { Byte[] message = UniformEncoder.decodeMessage(pixelArray, selectedHash); if (rsa.PublicOnly) { encryptedOutputTextBox.Text = "*** Public Fields Only ***\n*** Decryption Not Possible***"; } else { encryptedOutputTextBox.Text = new string(Encoding.ASCII.GetChars(decryptMessage(message, padding))); } } else { MessageBox.Show("No keys loaded for image decryption.", "Decoding Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }