ECEncryptor
public class ECElGamalEncryptor extends java.lang.Object implements ECEncryptor
Constructor | Description |
---|---|
ECElGamalEncryptor() |
Modifier and Type | Method | 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 ECEncryptor
param
- the necessary EC key parameters.public ECPair encrypt(ECPoint point)
encrypt
in interface ECEncryptor
point
- the EC point to process.protected ECMultiplier createBasePointMultiplier()