C# Class FileFind.Meshwork.Transport.AESTransportEncryptor

Inheritance: ITransportEncryptor
Show file Open project: codebutler/meshwork

Public Methods

Method Description
AESTransportEncryptor ( ) : System
Decrypt ( byte buffer ) : byte[]
Encrypt ( byte buffer ) : byte[]
SetKey ( byte keyBytes, byte ivBytes ) : void

Method Details

AESTransportEncryptor() public method

public AESTransportEncryptor ( ) : System
return System

Decrypt() public method

public Decrypt ( byte buffer ) : byte[]
buffer byte
return byte[]

Encrypt() public method

public Encrypt ( byte buffer ) : byte[]
buffer byte
return byte[]

SetKey() public method

public SetKey ( byte keyBytes, byte ivBytes ) : void
keyBytes byte
ivBytes byte
return void