Class MillersAlgorithm<E>
java.lang.Object
dk.jonaslindstrom.ruffini.elliptic.algorithms.MillersAlgorithm<E>
- All Implemented Interfaces:
TriFunction<AffinePoint<E>,
AffinePoint<E>, BigInteger, E>
public class MillersAlgorithm<E>
extends Object
implements TriFunction<AffinePoint<E>,AffinePoint<E>,BigInteger,E>
Given two points P and Q of order m on an elliptic curve, this algorithm computes f(Q) where
div(f) = [m]P - m[O]. It is used in
WeilPairing
.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MillersAlgorithm
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceTriFunction<AffinePoint<E>,
AffinePoint<E>, BigInteger, E>
-