C# Class Org.BouncyCastle.Crypto.Modes.GOfbBlockCipher

Inheritance: IBlockCipher
Mostra file Open project: nonorganic/dssnet Class Usage Examples

Public Methods

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

Private Methods

Method Description
bytesToint ( byte inBytes, int inOff ) : int
intTobytes ( int num, byte outBytes, int outOff ) : void

Method Details

GOfbBlockCipher() public method

public GOfbBlockCipher ( IBlockCipher cipher ) : System
cipher IBlockCipher
return System

GetBlockSize() public method

public GetBlockSize ( ) : int
return int

GetUnderlyingCipher() public method

public GetUnderlyingCipher ( ) : IBlockCipher
return IBlockCipher

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