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

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

Public Methods

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

Private Methods

Method Description
ApplyS ( long r, byte box ) : long
DecryptBlock ( long rk ) : void
EncryptBlock ( long rk ) : void
GenerateWorkingKey ( byte key ) : long[][]
InvMixColumn ( ) : void
KeyAddition ( long rk ) : void
MixColumn ( ) : void
Mul0x2 ( int b ) : byte
Mul0x3 ( int b ) : byte
Mul0x9 ( int b ) : byte
Mul0xb ( int b ) : byte
Mul0xd ( int b ) : byte
Mul0xe ( int b ) : byte
PackBlock ( byte bytes, int off ) : void
Shift ( long r, int shift ) : long
ShiftRow ( byte shiftsSC ) : void
Substitution ( byte box ) : void
UnPackBlock ( byte bytes, int off ) : 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 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

RijndaelEngine() public method

public RijndaelEngine ( ) : System
return System

RijndaelEngine() public method

public RijndaelEngine ( int blockBits ) : System
blockBits int
return System