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

Inheritance: IBlockCipher
Exibir arquivo Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Public Methods

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

Private Methods

Method Description
DecryptBlock ( uint KW ) : void
EncryptBlock ( uint KW ) : void
FFmulX ( uint x ) : uint
GenerateWorkingKey ( byte key, bool forEncryption ) : ].uint[
Inv_Mcol ( uint x ) : uint
PackBlock ( byte bytes, int off ) : void
Shift ( uint r, int shift ) : uint
SubWord ( uint x ) : uint
UnPackBlock ( byte bytes, int off ) : void

Method Details

AesFastEngine() public method

public AesFastEngine ( ) : System
return System

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