Trait group::WnafGroup

source ·
pub trait WnafGroup: Group {
    fn recommended_wnaf_for_num_scalars(num_scalars: usize) -> usize;
}
Expand description

Extension trait on a Group that provides helpers used by Wnaf.

Required Methods§

Recommends a wNAF window size given the number of scalars you intend to multiply a base by. Always returns a number between 2 and 22, inclusive.

Implementors§