C#将加密字符串转为base64后进行分段解密在解密那步提示参数出错
System.Security.Cryptography.CryptographicException:“参数错误
while ( TSize > 0 )
{
Byte[] DecryptData = new Byte[Size];
Array.Copy( Buffer , 0 , DecryptData , 0 , TSize );
Byte[] Ptext = RSACryptography.Decrypt(DecryptData , false);
PlaiStream.Write( Ptext , 0 , Ptext.Length );
TSize = CrypStream.Read( Buffer , 0 , MaxTSize );
}