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

Inheritance: IBlockCipher
Datei anzeigen Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
GetBlockSize ( ) : int
Init ( bool forEncryption, ICipherParameters parameters ) : void
NoekeonEngine ( ) : System
ProcessBlock ( byte input, int inOff, byte output, int outOff ) : int
Reset ( ) : void

Private Methods

Method Description
decryptBlock ( byte input, int inOff, byte output, int outOff ) : int
encryptBlock ( byte input, int inOff, byte output, int outOff ) : int
gamma ( uint a ) : void
pi1 ( uint a ) : void
pi2 ( uint a ) : void
rotl ( uint x, int y ) : uint
setKey ( byte key ) : void
theta ( uint a, uint k ) : 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

NoekeonEngine() public method

public NoekeonEngine ( ) : System
return System

ProcessBlock() public method

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

Reset() public method

public Reset ( ) : void
return void