[][src]Struct hash2curve::bls381g1::Bls12381G1Sswu

pub struct Bls12381G1Sswu { /* fields omitted */ }
This is supported on feature="bls" only.

BLS12381G1_XMD:SHA-256_SSWU provides both Random Oracle (RO) Nonuniform (NU)

Methods

impl Bls12381G1Sswu[src]

pub fn new(dst: DomainSeparationTag) -> Self[src]

This is supported on feature="bls" only.

Create a new implementation with the default

Trait Implementations

impl From<DomainSeparationTag> for Bls12381G1Sswu[src]

impl HashToCurveXmd for Bls12381G1Sswu[src]

type Output = G1

The return type by the underlying hash to curve implementation

impl HashToCurveXof for Bls12381G1Sswu[src]

type Output = G1

The return type by the underlying hash to curve implementation

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.