[][src]Trait pairing_plus::hash_to_field::ExpandMsg

pub trait ExpandMsg {
    fn expand_message(msg: &[u8], dst: &[u8], len_in_bytes: usize) -> Vec<u8>;
}

Trait for types implementing expand_message interface for hash_to_field

Required methods

fn expand_message(msg: &[u8], dst: &[u8], len_in_bytes: usize) -> Vec<u8>

Loading content...

Implementors

impl<HashT> ExpandMsg for ExpandMsgXmd<HashT> where
    HashT: Digest + BlockInput
[src]

ExpandMsgXmd implements expand_message_xmd for the ExpandMsg trait

impl<HashT> ExpandMsg for ExpandMsgXof<HashT> where
    HashT: Default + ExtendableOutput + Input
[src]

ExpandMsgXof implements expand_message_xof for the ExpandMsg trait

Loading content...