[][src]Trait bbs::HashElem

pub trait HashElem {
    type Output;
    fn hash<I: AsRef<[u8]>>(data: I) -> Self;
}

Struct can be generated from hashing

Associated Types

type Output

The type that implements this trait

Loading content...

Required methods

fn hash<I: AsRef<[u8]>>(data: I) -> Self

Return a type from hashing data

Loading content...

Implementors

impl HashElem for DeterministicPublicKey[src]

type Output = DeterministicPublicKey

impl HashElem for SecretKey[src]

type Output = SecretKey

impl HashElem for Commitment[src]

type Output = Commitment

impl HashElem for GeneratorG1[src]

type Output = GeneratorG1

impl HashElem for GeneratorG2[src]

type Output = GeneratorG2

impl HashElem for ProofChallenge[src]

type Output = ProofChallenge

impl HashElem for ProofNonce[src]

type Output = ProofNonce

impl HashElem for SignatureBlinding[src]

type Output = SignatureBlinding

impl HashElem for SignatureMessage[src]

type Output = SignatureMessage

Loading content...