Bls12Fp6 class
Cubic extension field GF(p⁶) over GF(p²), represented as c0 + c1·v + c2·v² with v³ = u + 1.
- Mixed-in types
Constructors
- Bls12Fp6({required Bls12Fp2 c0, required Bls12Fp2 c1, required Bls12Fp2 c2})
-
const
- Bls12Fp6.conditionalSelect(Bls12Fp6 a, Bls12Fp6 b, bool choice)
-
factory
- Bls12Fp6.fromBls12Fp2(Bls12Fp2 f)
-
factory
- Bls12Fp6.fromFp(Bls12Fp f)
-
factory
- Bls12Fp6.one()
-
factory
- Bls12Fp6.zero()
-
factory
Properties
Methods
-
frobeniusMap(
) → Bls12Fp6 - Frobenius map
-
invert(
) → Bls12Fp6? - Inversion
-
isZero(
) → bool -
mulBy01(
Bls12Fp2 rhsC0, Bls12Fp2 rhsC1) → Bls12Fp6 - Multiply by Bls12Fp2 elements in positions c0 and c1
-
mulBy1(
Bls12Fp2 rhsC1) → Bls12Fp6 - Multiply by Bls12Fp2 element only in position c1
-
mulByNonresidue(
) → Bls12Fp6 - Multiply by quadratic nonresidue v
-
mulInterleaved(
Bls12Fp6 b) → Bls12Fp6 - Interleaved multiplication (schoolbook optimized)
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
square(
) → Bls12Fp6 - Squaring
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator *(
Bls12Fp6 rhs) → Bls12Fp6 -
operator +(
Bls12Fp6 rhs) → Bls12Fp6 - Operator overrides
-
operator -(
Bls12Fp6 rhs) → Bls12Fp6 -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator unary-(
) → Bls12Fp6