C# Class LobbyServer.TCP.Encryption

显示文件 Open project: fiki574/rAPB Class Usage Examples

Public Properties

Property Type Description
Key byte[]

Public Methods

Method Description
Decrypt ( PacketIn packet ) : PacketIn
Encrypt ( PacketOut packet ) : byte[]
Encryption ( byte key = null ) : FrameWork.NetWork
SetKey ( byte key ) : void

Private Methods

Method Description
DumpData ( byte buffer ) : string

Method Details

Decrypt() public method

public Decrypt ( PacketIn packet ) : PacketIn
packet PacketIn
return PacketIn

Encrypt() public method

public Encrypt ( PacketOut packet ) : byte[]
packet PacketOut
return byte[]

Encryption() public method

public Encryption ( byte key = null ) : FrameWork.NetWork
key byte
return FrameWork.NetWork

SetKey() public method

public SetKey ( byte key ) : void
key byte
return void

Property Details

Key public_oe property

public byte[] Key
return byte[]