C# Class Gwupe.Communication.P2P.RUDP.Packet.AesCryptoPacketUtil

Show file Open project: gwupe/Gwupe Class Usage Examples

Public Methods

Method Description
AesCryptoPacketUtil ( byte key, int overflowBufferSize = 16384 ) : System
DecryptData ( byte data, int length ) : byte[]
EncryptData ( byte data, int length ) : byte[]

Method Details

AesCryptoPacketUtil() public method

public AesCryptoPacketUtil ( byte key, int overflowBufferSize = 16384 ) : System
key byte
overflowBufferSize int
return System

DecryptData() public method

public DecryptData ( byte data, int length ) : byte[]
data byte
length int
return byte[]

EncryptData() public method

public EncryptData ( byte data, int length ) : byte[]
data byte
length int
return byte[]