public class ECElGamalEncryptor extends java.lang.Object implements ECEncryptor
| Constructor and Description |
|---|
ECElGamalEncryptor() |
| Modifier and Type | Method and Description |
|---|---|
protected ECMultiplier |
createBasePointMultiplier() |
ECPair |
encrypt(ECPoint point)
Process a single EC point using the basic ElGamal algorithm.
|
void |
init(CipherParameters param)
initialise the encryptor.
|
public void init(CipherParameters param)
init in interface ECEncryptorparam - the necessary EC key parameters.public ECPair encrypt(ECPoint point)
encrypt in interface ECEncryptorpoint - the EC point to process.protected ECMultiplier createBasePointMultiplier()