pub trait Point: Element {
    // Required method
    fn map(&mut self, dst: DST, message: &[u8]);
}
Expand description

An element of a group that supports message hashing.

Required Methods§

Source

fn map(&mut self, dst: DST, message: &[u8])

Maps the provided data to a group element.

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§

Source§

impl Point for G1

Source§

impl Point for G2