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

Inheritance: IAsymmetricBlockCipher
Afficher le fichier Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Méthodes publiques

Méthode Description
AddCryptedBlocks ( byte block1, byte block2 ) : byte[]
Encrypt ( BigInteger plain ) : byte[]
GetInputBlockSize ( ) : int
GetOutputBlockSize ( ) : int
Init ( bool forEncryption, ICipherParameters parameters ) : void
ProcessBlock ( byte inBytes, int inOff, int length ) : byte[]
ProcessData ( byte data ) : byte[]

Private Methods

Méthode Description
chineseRemainder ( ArrayList congruences, ArrayList primes ) : BigInteger

Method Details

AddCryptedBlocks() public méthode

public AddCryptedBlocks ( byte block1, byte block2 ) : byte[]
block1 byte
block2 byte
Résultat byte[]

Encrypt() public méthode

public Encrypt ( BigInteger plain ) : byte[]
plain Org.BouncyCastle.Math.BigInteger
Résultat byte[]

GetInputBlockSize() public méthode

public GetInputBlockSize ( ) : int
Résultat int

GetOutputBlockSize() public méthode

public GetOutputBlockSize ( ) : 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, int length ) : byte[]
inBytes byte
inOff int
length int
Résultat byte[]

ProcessData() public méthode

public ProcessData ( byte data ) : byte[]
data byte
Résultat byte[]