C# Class Universal.Torrent.Client.Encryption.IEncryption.RC4

RC4 encryption
Inheritance: IEncryption
显示文件 Open project: haroldma/Universal.Torrent 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 ( IReadOnlyList key ) : System.Collections.Generic

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 ( IReadOnlyList key ) : System.Collections.Generic
key IReadOnlyList
return System.Collections.Generic