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

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
RC532Engine ( ) : System
Reset ( ) : void

Private Methods

Méthode Description
BytesToWord ( byte src, int srcOff ) : int
DecryptBlock ( byte input, int inOff, byte outBytes, int outOff ) : int
EncryptBlock ( byte input, int inOff, byte outBytes, int outOff ) : int
RotateLeft ( int x, int y ) : int
RotateRight ( int x, int y ) : int
SetKey ( byte key ) : void
WordToBytes ( int word, byte dst, int dstOff ) : 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 input, int inOff, byte output, int outOff ) : int
input byte
inOff int
output byte
outOff int
Résultat int

RC532Engine() public méthode

public RC532Engine ( ) : System
Résultat System

Reset() public méthode

public Reset ( ) : void
Résultat void