C# Class DynamicImageHandler.Utils.SymCrypt

ファイルを表示 Open project: CaptiveAire/Dynamic-Image-Handler

Public Methods

Method Description
BytesToHexString ( byte bytes ) : string
CreateKey ( ) : string
Decrypt ( string inputText, ISymCryptKey cryptKey ) : string
Encrypt ( string inputText, ISymCryptKey cryptKey ) : string

Method Details

BytesToHexString() public static method

public static BytesToHexString ( byte bytes ) : string
bytes byte
return string

CreateKey() public static method

The cryptographic service provider is not available.
public static CreateKey ( ) : string
return string

Decrypt() public static method

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
return string

Encrypt() public static method

The value of the parameter is not , , or .
public static Encrypt ( string inputText, ISymCryptKey cryptKey ) : string
inputText string
cryptKey ISymCryptKey
return string