Trait elliptic_curve::ops::MulByGenerator
source · pub trait MulByGenerator: Group {
// Provided method
fn mul_by_generator(scalar: &Self::Scalar) -> Self { ... }
}
Expand description
Multiplication by the generator.
May use optimizations (e.g. precomputed tables) when available.
Provided Methods§
sourcefn mul_by_generator(scalar: &Self::Scalar) -> Self
fn mul_by_generator(scalar: &Self::Scalar) -> Self
Multiply by the generator of the prime-order subgroup.
Object Safety§
This trait is not object safe.