C# Class Poehoe.Crypto

Exibir arquivo Open project: puckipedia/MagisterAPI

Public Methods

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

public static CryptPass ( string User ) : string
User string
return string

DecryptResponse() public static method

public static DecryptResponse ( byte Data, string Key = null ) : string
Data byte
Key string
return string

DecryptResponse() public static method

public static DecryptResponse ( string Data, string Key = null ) : string
Data string
Key string
return string

EncryptRequest() public static method

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

GetHexVal() public static method

public static GetHexVal ( char hex ) : int
hex char
return int

StringToByteArrayFastest() public static method

public static StringToByteArrayFastest ( string hex ) : byte[]
hex string
return byte[]