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

Inheritance: IBlockCipher
Mostrar archivo Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
GetBlockSize ( ) : int
Init ( bool forEncryption, ICipherParameters parameters ) : void
ProcessBlock ( byte inBytes, int inOff, byte outBytes, int outOff ) : int
Reset ( ) : void
XteaEngine ( ) : System

Private Methods

Method Description
decryptBlock ( byte inBytes, int inOff, byte outBytes, int outOff ) : int
encryptBlock ( byte inBytes, int inOff, byte outBytes, int outOff ) : int
setKey ( byte key ) : void

Method Details

GetBlockSize() public method

public GetBlockSize ( ) : int
return int

Init() public method

public Init ( bool forEncryption, ICipherParameters parameters ) : void
forEncryption bool
parameters ICipherParameters
return void

ProcessBlock() public method

public ProcessBlock ( byte inBytes, int inOff, byte outBytes, int outOff ) : int
inBytes byte
inOff int
outBytes byte
outOff int
return int

Reset() public method

public Reset ( ) : void
return void

XteaEngine() public method

public XteaEngine ( ) : System
return System