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

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 inBytes, int inOff, byte outBytes, int outOff ) : int
Reset ( ) : void
XteaEngine ( ) : System

Private Methods

Méthode Description
decryptBlock ( byte inBytes, int inOff, byte outBytes, int outOff ) : int
encryptBlock ( byte inBytes, int inOff, byte outBytes, int outOff ) : int
setKey ( byte key ) : void

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 inBytes, int inOff, byte outBytes, int outOff ) : int
inBytes byte
inOff int
outBytes byte
outOff int
Résultat int

Reset() public méthode

public Reset ( ) : void
Résultat void

XteaEngine() public méthode

public XteaEngine ( ) : System
Résultat System