C# Class Orc.NuGetExplorer.EncryptionHelper

Show file Open project: WildGums/Orc.NuGetExplorer

Public Methods

Method Description
Decrypt ( string s, string key ) : string
Encrypt ( string s, string key ) : string
GetMd5Hash ( string s ) : string

Private Methods

Method Description
CreateCryptoServiceProvider ( Encoding encoding, string key ) : TripleDESCryptoServiceProvider
GetEncoding ( ) : Encoding

Method Details

Decrypt() public static method

public static Decrypt ( string s, string key ) : string
s string
key string
return string

Encrypt() public static method

public static Encrypt ( string s, string key ) : string
s string
key string
return string

GetMd5Hash() public static method

public static GetMd5Hash ( string s ) : string
s string
return string