org.bouncycastle.crypto.generators

Class ElGamalKeyPairGenerator

public class ElGamalKeyPairGenerator extends Object implements AsymmetricCipherKeyPairGenerator

a ElGamal key pair generator.

This generates keys consistent for use with ElGamal as described in page 164 of "Handbook of Applied Cryptography".

Method Summary
AsymmetricCipherKeyPairgenerateKeyPair()
voidinit(KeyGenerationParameters param)

Method Detail

generateKeyPair

public AsymmetricCipherKeyPair generateKeyPair()

init

public void init(KeyGenerationParameters param)