Struct snapps_txn_reference_impl::primitives::Pallas [−][src]
pub struct Pallas {}
Expand description
A point on the ‘Pallas’ elliptic curve.
Points on this curve are defined by the equation
y^2 = x^3 + a*x + b
with the constants a = 0
and b = 5
,
where x
and y
are elements of the finite field Fp
.
Points on the Pallas curve form a prime group of order
28948022309329048855892746252171976963363056481941560715954676764349967630337
under the standard elliptic curve
addition operation.
Implementations
The elliptic curve point used as the generator for the group.
This is the constant point defined by
x = 1, y = 12418654782883325593414442427049395787963493412651469444558597405572177144507
The standard elliptic curve addition group operation on the pallas curve.
Compute the ‘compressed’ representation of a public key.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Pallas
impl UnwindSafe for Pallas
Blanket Implementations
Mutably borrows from an owned value. Read more