C# Class Poehoe.Crypto

Afficher le fichier Open project: puckipedia/MagisterAPI

Méthodes publiques

Méthode Description
CryptPass ( string User ) : string
DecryptResponse ( byte Data, string Key = null ) : string
DecryptResponse ( string Data, string Key = null ) : string
EncryptRequest ( Request Req, string Key = null ) : byte[]
GetHexVal ( char hex ) : int
StringToByteArrayFastest ( string hex ) : byte[]

Method Details

CryptPass() public static méthode

public static CryptPass ( string User ) : string
User string
Résultat string

DecryptResponse() public static méthode

public static DecryptResponse ( byte Data, string Key = null ) : string
Data byte
Key string
Résultat string

DecryptResponse() public static méthode

public static DecryptResponse ( string Data, string Key = null ) : string
Data string
Key string
Résultat string

EncryptRequest() public static méthode

public static EncryptRequest ( Request Req, string Key = null ) : byte[]
Req Request
Key string
Résultat byte[]

GetHexVal() public static méthode

public static GetHexVal ( char hex ) : int
hex char
Résultat int

StringToByteArrayFastest() public static méthode

public static StringToByteArrayFastest ( string hex ) : byte[]
hex string
Résultat byte[]