Trait bls12_381_plus::ExpandMsg [−][src]
Trait for types implementing expand_message interface for hash_to_field
Required methods
fn expand_message(msg: &[u8], dst: &[u8], buf: &mut [u8])
[src]
Expands msg
to the required number of bytes in buf
Implementors
impl<HashT> ExpandMsg for ExpandMsgXmd<HashT> where
HashT: Digest + BlockInput,
[src]
HashT: Digest + BlockInput,
ExpandMsgXmd implements expand_message_xmd for the ExpandMsg trait
impl<HashT> ExpandMsg for ExpandMsgXof<HashT> where
HashT: Default + ExtendableOutput + Update,
[src]
HashT: Default + ExtendableOutput + Update,
ExpandMsgXof implements expand_message_xof for the ExpandMsg trait