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

Inheritance: IStreamCipher
ファイルを表示 Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
Init ( bool forEncryption, ICipherParameters parameters ) : void
ProcessBytes ( byte input, int inOff, int len, byte output, int outOff ) : void
Reset ( ) : void
ReturnByte ( byte input ) : byte

Private Methods

Method Description
Dim ( uint x, uint y ) : uint
F1 ( uint x ) : uint
F2 ( uint x ) : uint
G1 ( uint x, uint y, uint z ) : uint
G2 ( uint x, uint y, uint z ) : uint
GetByte ( ) : byte
H1 ( uint x ) : uint
H2 ( uint x ) : uint
Init ( ) : void
Mod1024 ( uint x ) : uint
Mod512 ( uint x ) : uint
RotateLeft ( uint x, int bits ) : uint
RotateRight ( uint x, int bits ) : uint
Step ( ) : uint

Method Details

Init() public method

public Init ( bool forEncryption, ICipherParameters parameters ) : void
forEncryption bool
parameters ICipherParameters
return void

ProcessBytes() public method

public ProcessBytes ( byte input, int inOff, int len, byte output, int outOff ) : void
input byte
inOff int
len int
output byte
outOff int
return void

Reset() public method

public Reset ( ) : void
return void

ReturnByte() public method

public ReturnByte ( byte input ) : byte
input byte
return byte