|
Bouncy Castle Cryptography Library 1.49 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.crypto.ec.ECElGamalEncryptor
public class ECElGamalEncryptor
this does your basic ElGamal encryption algorithm using EC
Constructor Summary | |
---|---|
ECElGamalEncryptor()
|
Method Summary | |
---|---|
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.
|
Bouncy Castle Cryptography Library 1.49 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |