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

Inheritance: IBlockCipher
ファイルを表示 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
TeaEngine ( ) : 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

TeaEngine() public method

public TeaEngine ( ) : System
return System