点击或拖拽改变大小

RSAHelperEncryptLargeDataByRSA 方法

对原始字节的数据进行加密,不限制长度,因为RSA本身限制了117字节,所以此处进行数据切割加密。
Encrypt the original byte data without limiting the length, because RSA itself limits 117 bytes, so the data is cut and encrypted here.

命名空间:  HslCommunication.Core.Security
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public static byte[] EncryptLargeDataByRSA(
	RSACryptoServiceProvider provider,
	byte[] data
)

参数

provider
类型:System.Security.CryptographyRSACryptoServiceProvider
RSA公钥对象
data
类型:SystemByte
等待加密的原始数据

返回值

类型:Byte
加密之后的结果信息
参见