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

Inheritance: IStreamCipher
Datei anzeigen 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
GetByte ( ) : byte
Init ( ) : void
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