elliptic_curve::ops

Trait 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§

Source

fn mul_by_generator(scalar: &Self::Scalar) -> Self

Multiply by the generator of the prime-order subgroup.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§