pub trait MulByGenerator: Group {
    // Provided method
    fn mul_by_generator(scalar: &Self::Scalar) -> Self { ... }
}
Available on crate feature arithmetic only.
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.

Object Safety§

This trait is not object safe.

Implementors§