final case class PublicKeyGen[FpType <: BigInt](generator: HomogeneousPoint[FpType]) extends AnyVal with Product with Serializable
In our PRE scheme, a private key is simply a BigInt value in Fp - that is, an integer in [0, Prime - 1]. The public key is just the generator point in E(Fp) times the private key value. Since E(Fp) is a cyclic group, multiplying a point by any value that is larger than Curve.Order will actually "wrap around" and be equivalent to multiplying by the value mod Curve.Order.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PublicKeyGen
- Serializable
- Product
- Equals
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new PublicKeyGen(generator: HomogeneousPoint[FpType])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def apply(privateKey: PrivateKey[FpType]): PublicKey[FpType]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val generator: HomogeneousPoint[FpType]
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def productElementNames: Iterator[String]
- Definition Classes
- Product