关闭。这个问题需要更多focused.它目前不接受答案。想改进这个问题吗?更新问题,使其只关注一个问题editingthispost.关闭2年前。Improvethisquestion我正在制作一个应用程序,我必须在其中加密我这边的xml并将其发送到服务器,作为响应,我将收到xml并且我必须解密它。我不知道加密和解密。我的代码如下user.s7gspcsmo我正在使用这段代码进行加密和解密publicstringencryptData(stringkey,stringdata){intkeyLen=key.Length;intdataLen=Convert.ToInt16(data.L