|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.crypto.ec.ECElGamalEncryptor
this does your basic ElGamal encryption algorithm using EC
Constructor Summary | |
ECElGamalEncryptor()
|
Method Summary | |
protected org.bouncycastle.math.ec.ECMultiplier |
createBasePointMultiplier()
|
ECPair |
encrypt(org.bouncycastle.math.ec.ECPoint point)
Process a single EC point using the basic ElGamal algorithm. |
void |
init(CipherParameters param)
initialise the encryptor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ECElGamalEncryptor()
Method Detail |
public void init(CipherParameters param)
init
in interface ECEncryptor
param
- the necessary EC key parameters.public ECPair encrypt(org.bouncycastle.math.ec.ECPoint point)
encrypt
in interface ECEncryptor
point
- the EC point to process.protected org.bouncycastle.math.ec.ECMultiplier createBasePointMultiplier()
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |