RSAHelperDecryptLargeDataByRSA 方法 |
对超过117字节限制的加密数据进行解密,解密出原始的字节数据,因为RSA本身限制了117字节,所以此处进行数据切割解密。
Decrypt the encrypted data that exceeds the 117-byte limit and decrypt the original byte data, because RSA itself limits 117 bytes, so the data is cut and decrypted here.
命名空间:
HslCommunication.Core.Security
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static byte[] DecryptLargeDataByRSA(
RSACryptoServiceProvider provider,
byte[] data
)
Public Shared Function DecryptLargeDataByRSA (
provider As RSACryptoServiceProvider,
data As Byte()
) As Byte()
public:
static array<unsigned char>^ DecryptLargeDataByRSA(
RSACryptoServiceProvider^ provider,
array<unsigned char>^ data
)
static member DecryptLargeDataByRSA :
provider : RSACryptoServiceProvider *
data : byte[] -> byte[]
参数
- provider
- 类型:System.Security.CryptographyRSACryptoServiceProvider
RSA私钥对象 - data
- 类型:SystemByte
等待解密的数据
返回值
类型:
Byte解密之后的结果数据
参见