C# Class CustomerService.DBUtility.DESEncrypt

DES加密/解密类。
Show file Open project: NanQi/demo

Public Methods

Method Description
DESEncrypt ( ) : System
Decrypt ( string Text ) : string

解密

Decrypt ( string Text, string sKey ) : string

解密数据

Encrypt ( string Text ) : string

加密

Encrypt ( string Text, string sKey ) : string

加密数据

Method Details

DESEncrypt() public method

public DESEncrypt ( ) : System
return System

Decrypt() public static method

解密
public static Decrypt ( string Text ) : string
Text string
return string

Decrypt() public static method

解密数据
public static Decrypt ( string Text, string sKey ) : string
Text string
sKey string
return string

Encrypt() public static method

加密
public static Encrypt ( string Text ) : string
Text string
return string

Encrypt() public static method

加密数据
public static Encrypt ( string Text, string sKey ) : string
Text string
sKey string
return string