private void decody_Click(object sender, EventArgs e)
        {
            try
            {
                byte[] jm = Convert.FromBase64String(textBox3.Text);//jm代表要解密的密文,是从textBox3中取的                  rsa.FromXmlString(privKey);                byte[] jm_decrypt = rsa.Decrypt(jm, false);//这一句有错,提示是:"不正确的数据"                textBox5.Text = Encoding.Default.GetString(jm_decrypt);
            }
            catch
            {
                CryptographicException exception = new CryptographicException();
                MessageBox.Show(exception.ToString());
            }
        }        private void button3_Click(object sender, EventArgs e)//生成公匙和私匙
        {
            textBox1.Text = rsa.ToXmlString(false);            pubKey = textBox1.Text;            textBox4.Text = rsa.ToXmlString(true);            privKey = textBox4.Text;
        }希望有朋友能帮忙看看是什么问题!在线等,解决立刻给分!