C# Class OctoTorrent.Client.Encryption.RC4

RC4 encryption
Inheritance: IEncryption
ファイルを表示 Open project: Eskat0n/OctoTorrent Class Usage Examples

Public Methods

Method Description
Decrypt ( byte buffer ) : void
Decrypt ( byte src, int srcOffset, byte dest, int destOffset, int count ) : void
Decrypt ( byte buffer, int offset, int count ) : void
Encrypt ( byte buffer ) : void
Encrypt ( byte src, int srcOffset, byte dest, int destOffset, int count ) : void
Encrypt ( byte buffer, int offset, int count ) : void
RC4 ( byte key ) : System

Method Details

Decrypt() public method

public Decrypt ( byte buffer ) : void
buffer byte
return void

Decrypt() public method

public Decrypt ( byte src, int srcOffset, byte dest, int destOffset, int count ) : void
src byte
srcOffset int
dest byte
destOffset int
count int
return void

Decrypt() public method

public Decrypt ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

Encrypt() public method

public Encrypt ( byte buffer ) : void
buffer byte
return void

Encrypt() public method

public Encrypt ( byte src, int srcOffset, byte dest, int destOffset, int count ) : void
src byte
srcOffset int
dest byte
destOffset int
count int
return void

Encrypt() public method

public Encrypt ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

RC4() public method

public RC4 ( byte key ) : System
key byte
return System