pub trait HashToCurve: Curve {
    // Required methods
    fn hash_to_curve(ctx: Tag<'_>, msgs: &[&[u8]]) -> Result<Self::Point, Error>;
    fn hash_to_scalar(
        ctx: Tag<'_>,
        msgs: &[&[u8]]
    ) -> Result<Self::Scalar, Error>;
}

Required Methods§

source

fn hash_to_curve(ctx: Tag<'_>, msgs: &[&[u8]]) -> Result<Self::Point, Error>

source

fn hash_to_scalar(ctx: Tag<'_>, msgs: &[&[u8]]) -> Result<Self::Scalar, Error>

Object Safety§

This trait is not object safe.

Implementors§