blsful 3.1.0

BLS signature implementation according to the IETF spec on the BLS12-381 curve.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::impls::inner_types::*;
use core::fmt::Display;
use subtle::ConditionallySelectable;

/// The hash to curve point methods
pub trait HashToPoint {
    /// The output point group
    type Output: Group + GroupEncoding + Default + Display + ConditionallySelectable;

    /// Compute the output from a hash method
    fn hash_to_point<B: AsRef<[u8]>, C: AsRef<[u8]>>(m: B, dst: C) -> Self::Output;
}