DongnippSDKRSAUtilsEncryptToBase64 方法

使用RSA公钥加密数据并将结果转换为Base64字符串。

Definition

命名空间: top.nuozhen.Dongnipp
程序集: Dongnipp (在 Dongnipp.exe 中) 版本:0.0.0.0
C#
public static string EncryptToBase64(
	RSAParameters publicKey,
	byte[] data
)

参数

publicKey  RSAParameters
用于加密的RSA公钥参数。
data  Byte
要加密的字节数组。

返回值

String
加密后的Base64字符串。

参见