C# Class org.phprpc.util.XXTEA

Exibir arquivo Open project: bluelovers/phprpc

Public Methods

Method Description
Decrypt ( Byte data, Byte Key ) : Byte[]
Encrypt ( Byte data, Byte Key ) : Byte[]

Private Methods

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

Method Details

Decrypt() public static method

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

Encrypt() public static method

public static Encrypt ( Byte data, Byte Key ) : Byte[]
data Byte
Key Byte
return Byte[]