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

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
isaac ( ) : void
mix ( uint x ) : void
setKey ( byte keyBytes ) : void

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