C# Класс CRL.Business.OnlinePay.Company.ChinaPay.RSA

Показать файл Открыть проект

Открытые методы

Метод Описание
RSADecrypt ( string privatekey, string content ) : string

RSA解密

RSAEncrypt ( string publickey, string content ) : string

RSA加密

RSA_Decrypt ( string str_Cypher_Text, string str_Private_Key ) : string
RSA_Encrypt ( string str_Plain_Text, string &str_Public_Key, string &str_Private_Key ) : string

Описание методов

RSADecrypt() публичный статический Метод

RSA解密
public static RSADecrypt ( string privatekey, string content ) : string
privatekey string
content string
Результат string

RSAEncrypt() публичный статический Метод

RSA加密
public static RSAEncrypt ( string publickey, string content ) : string
publickey string
content string
Результат string

RSA_Decrypt() публичный статический Метод

public static RSA_Decrypt ( string str_Cypher_Text, string str_Private_Key ) : string
str_Cypher_Text string
str_Private_Key string
Результат string

RSA_Encrypt() публичный статический Метод

public static RSA_Encrypt ( string str_Plain_Text, string &str_Public_Key, string &str_Private_Key ) : string
str_Plain_Text string
str_Public_Key string
str_Private_Key string
Результат string