C# Class Org.BouncyCastle.Crypto.Engines.BlowfishEngine

Mostrar archivo Open project: nohbdy/ffxivmodelviewer Class Usage Examples

Public Methods

Method Description
BlowfishEngine ( ) : System
GetBlockSize ( ) : int
Init ( bool forEncryption, byte key ) : void
ProcessBlock ( byte input, int inOff, byte output, int outOff ) : int
ProcessBuffer ( byte input, int inOff, byte output, int outOff, int length ) : void
Reset ( ) : void

Private Methods

Method Description
DecryptBlock ( byte src, int srcIndex, byte dst, int dstIndex ) : void
EncryptBlock ( byte src, int srcIndex, byte dst, int dstIndex ) : void
F ( uint x ) : uint
ProcessTable ( uint xl, uint xr, uint table ) : void
SetKey ( byte key ) : void

Method Details

BlowfishEngine() public method

public BlowfishEngine ( ) : System
return System

GetBlockSize() public method

public GetBlockSize ( ) : int
return int

Init() public method

public Init ( bool forEncryption, byte key ) : void
forEncryption bool
key byte
return void

ProcessBlock() public method

public ProcessBlock ( byte input, int inOff, byte output, int outOff ) : int
input byte
inOff int
output byte
outOff int
return int

ProcessBuffer() public method

public ProcessBuffer ( byte input, int inOff, byte output, int outOff, int length ) : void
input byte
inOff int
output byte
outOff int
length int
return void

Reset() public method

public Reset ( ) : void
return void