Table of Contents

Class ElGamalEngine

Namespace
Org.BouncyCastle.Crypto.Engines
Assembly
BouncyCastle.Cryptography.dll
public class ElGamalEngine : IAsymmetricBlockCipher
Inheritance
ElGamalEngine
Implements
Inherited Members

Properties

AlgorithmName

The name of the algorithm this cipher implements.

public virtual string AlgorithmName { get; }

Property Value

string

Methods

GetInputBlockSize()

public virtual int GetInputBlockSize()

Returns

int

GetOutputBlockSize()

public virtual int GetOutputBlockSize()

Returns

int

Init(bool, ICipherParameters)

public virtual void Init(bool forEncryption, ICipherParameters parameters)

Parameters

forEncryption bool
parameters ICipherParameters

ProcessBlock(byte[], int, int)

public virtual byte[] ProcessBlock(byte[] input, int inOff, int length)

Parameters

input byte[]
inOff int
length int

Returns

byte[]