C# Класс DynamicImageHandler.Utils.SymCrypt

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

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

Метод Описание
BytesToHexString ( byte bytes ) : string
CreateKey ( ) : string
Decrypt ( string inputText, ISymCryptKey cryptKey ) : string
Encrypt ( string inputText, ISymCryptKey cryptKey ) : string

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

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

public static BytesToHexString ( byte bytes ) : string
bytes byte
Результат string

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

The cryptographic service provider is not available.
public static CreateKey ( ) : string
Результат string

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

The value of the parameter is not , , or . is null. The length of , ignoring white-space characters, is not zero or a multiple of 4. -or-The format of is invalid. contains a non-base-64 character, more than two padding characters, or a non-white space-character among the padding characters.
public static Decrypt ( string inputText, ISymCryptKey cryptKey ) : string
inputText string
cryptKey ISymCryptKey
Результат string

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

The value of the parameter is not , , or .
public static Encrypt ( string inputText, ISymCryptKey cryptKey ) : string
inputText string
cryptKey ISymCryptKey
Результат string