0
TripleDES = new TripleDESCryptoServiceProvider();
this.GenerateKey(); //Generate Key ..
TripleDES.Mode = CipherMode.CBC;
TripleDES.Padding = PaddingMode.PKCS7;
byte[] cipher = new byte[0];
ICryptoTransform ict = TripleDES.CreateEncryptor();
cipher = ict.TransformFinalBlock(data, 0, data.Length);
嗨當我正常使用TripleDES = new TripleDESCryptoServiceProvider();
作品的同一個實例decypt消息,但是當我嘗試使用新實例它說:「壞數據」TripleDes的解密在C#