C# Class Medusa.Coder.XXTEACoder

显示文件 Open project: fjz13/Medusa

Public Methods

Method Description
Decrypt ( Byte data ) : Byte[]
Encrypt ( Byte data ) : byte[]

Private Methods

Method Description
Decrypt ( Byte data, Byte key ) : Byte[]
Decrypt ( UInt32 v, UInt32 k ) : System.UInt32[]
Encrypt ( Byte data, Byte key ) : Byte[]
Encrypt ( UInt32 v, UInt32 k ) : System.UInt32[]
ToByteArray ( UInt32 data, Boolean includeLength ) : Byte[]
ToUInt32Array ( Byte data, Boolean includeLength ) : UInt32[]
XXTEACoder ( ) : System

Method Details

Decrypt() public static method

public static Decrypt ( Byte data ) : Byte[]
data Byte
return Byte[]

Encrypt() public static method

public static Encrypt ( Byte data ) : byte[]
data Byte
return byte[]