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

Inheritance: IBlockCipher
Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode Description
GetBlockSize ( ) : int
Init ( bool forEncryption, ICipherParameters parameters ) : void
ProcessBlock ( byte input, int inOff, byte output, int outOff ) : int
Reset ( ) : void

Private Methods

Méthode Description
DecryptBlock ( byte input, int inOff, byte outBytes, int outOff ) : void
EncryptBlock ( byte input, int inOff, byte outBytes, int outOff ) : void
GenerateWorkingKey ( byte key, int bits ) : int[]
RotateWordLeft ( int x, int y ) : int

Method Details

GetBlockSize() public méthode

public GetBlockSize ( ) : int
Résultat int

Init() public méthode

public Init ( bool forEncryption, ICipherParameters parameters ) : void
forEncryption bool
parameters ICipherParameters
Résultat void

ProcessBlock() public méthode

public ProcessBlock ( byte input, int inOff, byte output, int outOff ) : int
input byte
inOff int
output byte
outOff int
Résultat int

Reset() public méthode

public Reset ( ) : void
Résultat void