C# Class Tencent.Cryptography

腾讯提供的微信加解密服务。
Afficher le fichier Open project: Chinaccn/surfboard Class Usage Examples

Méthodes publiques

Méthode Description
AES_decrypt ( string Input, string EncodingAESKey, string &appid ) : string

解密方法

AES_encrypt ( string Input, string EncodingAESKey, string appid ) : string
HostToNetworkOrder ( int inval ) : int
HostToNetworkOrder ( uint inval ) : uint

Private Methods

Méthode Description
AES_decrypt ( string Input, byte Iv, byte Key ) : byte[]
AES_encrypt ( byte Input, byte Iv, byte Key ) : string
AES_encrypt ( string Input, byte Iv, byte Key ) : string
CreateRandCode ( int codeLen ) : string
KCS7Encoder ( int text_length ) : byte[]
chr ( int a ) : char
decode2 ( byte decrypted ) : byte[]

Method Details

AES_decrypt() public static méthode

解密方法
public static AES_decrypt ( string Input, string EncodingAESKey, string &appid ) : string
Input string 密文
EncodingAESKey string
appid string
Résultat string

AES_encrypt() public static méthode

public static AES_encrypt ( string Input, string EncodingAESKey, string appid ) : string
Input string
EncodingAESKey string
appid string
Résultat string

HostToNetworkOrder() public static méthode

public static HostToNetworkOrder ( int inval ) : int
inval int
Résultat int

HostToNetworkOrder() public static méthode

public static HostToNetworkOrder ( uint inval ) : uint
inval uint
Résultat uint