Package ch.bitagent.bitcoin.lib.ecc
Interface PointOperators
-
- All Known Implementing Classes:
FieldElement,Hex,Int,S256Field
public interface PointOperatorsPoint operators on an elliptic curve
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PointOperatorsadd(PointOperators otherPoint)add.PointOperatorsdiv(PointOperators otherPoint)div.booleaneq(PointOperators otherPoint)eq.PointOperatorsmod(Int divisor)mod.PointOperatorsmul(int coefficient)mul.PointOperatorsmul(PointOperators otherPoint)mul.booleanne(PointOperators otherPoint)ne.PointOperatorspow(Int exponent)pow.PointOperatorspowMod(Int exponent, Int divisor)powMod.PointOperatorssub(PointOperators otherPoint)sub.
-
-
-
Method Detail
-
eq
boolean eq(PointOperators otherPoint)
eq.
- Parameters:
otherPoint- aPointOperatorsobject- Returns:
- a boolean
-
ne
boolean ne(PointOperators otherPoint)
ne.
- Parameters:
otherPoint- aPointOperatorsobject- Returns:
- a boolean
-
add
PointOperators add(PointOperators otherPoint)
add.
- Parameters:
otherPoint- aPointOperatorsobject- Returns:
- a
PointOperatorsobject
-
sub
PointOperators sub(PointOperators otherPoint)
sub.
- Parameters:
otherPoint- aPointOperatorsobject- Returns:
- a
PointOperatorsobject
-
mul
PointOperators mul(PointOperators otherPoint)
mul.
- Parameters:
otherPoint- aPointOperatorsobject- Returns:
- a
PointOperatorsobject
-
mul
PointOperators mul(int coefficient)
mul.
- Parameters:
coefficient- a int- Returns:
- a
PointOperatorsobject
-
pow
PointOperators pow(Int exponent)
pow.
- Parameters:
exponent- aIntobject- Returns:
- a
PointOperatorsobject
-
div
PointOperators div(PointOperators otherPoint)
div.
- Parameters:
otherPoint- aPointOperatorsobject- Returns:
- a
PointOperatorsobject
-
mod
PointOperators mod(Int divisor)
mod.
- Parameters:
divisor- aIntobject- Returns:
- a
PointOperatorsobject
-
powMod
PointOperators powMod(Int exponent, Int divisor)
powMod.
- Parameters:
exponent- aIntobjectdivisor- aIntobject- Returns:
- a
PointOperatorsobject
-
-