public class ECNewRandomnessTransform extends java.lang.Object implements ECPairFactorTransform
Constructor and Description |
---|
ECNewRandomnessTransform() |
Modifier and Type | Method and Description |
---|---|
protected ECMultiplier |
createBasePointMultiplier() |
java.math.BigInteger |
getTransformValue()
Return the last random value generated for a transform
|
void |
init(CipherParameters param)
initialise the underlying EC ElGamal engine.
|
ECPair |
transform(ECPair cipherText)
Transform an existing cipher test pair using the ElGamal algorithm.
|
public void init(CipherParameters param)
init
in interface ECPairTransform
param
- the necessary EC key parameters.public ECPair transform(ECPair cipherText)
transform
in interface ECPairTransform
cipherText
- the EC point to process.public java.math.BigInteger getTransformValue()
getTransformValue
in interface ECPairFactorTransform
protected ECMultiplier createBasePointMultiplier()