C# Class CRL.Business.OnlinePay.Company.ChinaPay.RSA

ファイルを表示 Open project: hubro-xx/CRL2

Public Methods

Method Description
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

Method Details

RSADecrypt() public static method

RSA解密
public static RSADecrypt ( string privatekey, string content ) : string
privatekey string
content string
return string

RSAEncrypt() public static method

RSA加密
public static RSAEncrypt ( string publickey, string content ) : string
publickey string
content string
return string

RSA_Decrypt() public static method

public static RSA_Decrypt ( string str_Cypher_Text, string str_Private_Key ) : string
str_Cypher_Text string
str_Private_Key string
return string

RSA_Encrypt() public static method

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
return string