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

Inheritance: IBlockCipher
显示文件 Open project: nonorganic/dssnet Class Usage Examples

Public Methods

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

Private Methods

Method Description
BytesToWord ( byte src, int srcOff ) : long
DecryptBlock ( byte input, int inOff, byte outBytes, int outOff ) : int
EncryptBlock ( byte input, int inOff, byte outBytes, int outOff ) : int
RotateLeft ( long x, long y ) : long
RotateRight ( long x, long y ) : long
SetKey ( byte key ) : void
WordToBytes ( long word, byte dst, int dstOff ) : void

Method Details

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

RC564Engine() public method

public RC564Engine ( ) : System
return System

Reset() public method

public Reset ( ) : void
return void