C# Класс Poehoe.Crypto

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

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

Метод Описание
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[]

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

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

public static CryptPass ( string User ) : string
User string
Результат string

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

public static DecryptResponse ( byte Data, string Key = null ) : string
Data byte
Key string
Результат string

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

public static DecryptResponse ( string Data, string Key = null ) : string
Data string
Key string
Результат string

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

public static EncryptRequest ( Request Req, string Key = null ) : byte[]
Req Request
Key string
Результат byte[]

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

public static GetHexVal ( char hex ) : int
hex char
Результат int

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

public static StringToByteArrayFastest ( string hex ) : byte[]
hex string
Результат byte[]