pub struct ExpandMsgXof<HashT> { /* private fields */ }Expand description
Placeholder type for implementing expand_message_xof based on a hash function
Trait Implementations§
Source§impl<HashT: Debug> Debug for ExpandMsgXof<HashT>
impl<HashT: Debug> Debug for ExpandMsgXof<HashT>
Source§impl<HashT, const LEN_IN_BYTES: usize> ExpandMsg<LEN_IN_BYTES> for ExpandMsgXof<HashT>
ExpandMsgXof implements expand_message_xof for the ExpandMsg trait
impl<HashT, const LEN_IN_BYTES: usize> ExpandMsg<LEN_IN_BYTES> for ExpandMsgXof<HashT>
ExpandMsgXof implements expand_message_xof for the ExpandMsg trait
Source§fn expand_message(msg: &[u8], dst: &[u8]) -> [u8; LEN_IN_BYTES]
fn expand_message(msg: &[u8], dst: &[u8]) -> [u8; LEN_IN_BYTES]
Expands
msg to the required number of bytes in bufAuto Trait Implementations§
impl<HashT> Freeze for ExpandMsgXof<HashT>
impl<HashT> RefUnwindSafe for ExpandMsgXof<HashT>where
HashT: RefUnwindSafe,
impl<HashT> Send for ExpandMsgXof<HashT>where
HashT: Send,
impl<HashT> Sync for ExpandMsgXof<HashT>where
HashT: Sync,
impl<HashT> Unpin for ExpandMsgXof<HashT>where
HashT: Unpin,
impl<HashT> UnwindSafe for ExpandMsgXof<HashT>where
HashT: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more