elliptic_curve::hash2curve

Trait Expander

Source
pub trait Expander {
    // Required method
    fn fill_bytes(&mut self, okm: &mut [u8]);
}
Available on crate feature hash2curve only.
Expand description

Expander that, call read until enough bytes have been consumed.

Required Methods§

Source

fn fill_bytes(&mut self, okm: &mut [u8])

Fill the array with the expanded bytes

Implementors§

Source§

impl<'a, HashT> Expander for ExpanderXmd<'a, HashT>

Source§

impl<HashT> Expander for ExpandMsgXof<HashT>
where HashT: Default + ExtendableOutput + Update,