C# Class Lidgren.Network.NetAESEncryption

Inheritance: Lidgren.Network.NetCryptoProviderBase
显示文件 Open project: tomoprime/CrabBattle Class Usage Examples

Public Methods

Method Description
Decrypt ( NetIncomingMessage msg ) : bool

Decrypt incoming message

Encrypt ( NetOutgoingMessage msg ) : bool

Encrypt outgoing message

NetAESEncryption ( byte key, byte iv ) : System

NetAESEncryption constructor

NetAESEncryption ( string key ) : System

NetAESEncryption constructor

NetAESEncryption ( string key, int bitsize ) : System

NetAESEncryption constructor

Private Methods

Method Description
NetAESEncryption ( ) : System

Method Details

Decrypt() public method

Decrypt incoming message
public Decrypt ( NetIncomingMessage msg ) : bool
msg NetIncomingMessage
return bool

Encrypt() public method

Encrypt outgoing message
public Encrypt ( NetOutgoingMessage msg ) : bool
msg NetOutgoingMessage
return bool

NetAESEncryption() public method

NetAESEncryption constructor
public NetAESEncryption ( byte key, byte iv ) : System
key byte
iv byte
return System

NetAESEncryption() public method

NetAESEncryption constructor
public NetAESEncryption ( string key ) : System
key string
return System

NetAESEncryption() public method

NetAESEncryption constructor
public NetAESEncryption ( string key, int bitsize ) : System
key string
bitsize int
return System