pub struct ExpandMsgXof<HashT>{
reader: <HashT as ExtendableOutput>::Reader,
remaining: u16,
}Expand description
Implements expand_message_xof via the ExpandMsg trait:
https://www.rfc-editor.org/rfc/rfc9380.html#name-expand_message_xof
§Errors
See ExpandMsgXofError for details.
Fields§
§reader: <HashT as ExtendableOutput>::Reader§remaining: u16Trait Implementations§
Source§impl<HashT> Debug for ExpandMsgXof<HashT>where
HashT: Default + ExtendableOutput + Update + HashMarker,
<HashT as ExtendableOutput>::Reader: Debug,
impl<HashT> Debug for ExpandMsgXof<HashT>where
HashT: Default + ExtendableOutput + Update + HashMarker,
<HashT as ExtendableOutput>::Reader: Debug,
Source§impl<HashT, K> ExpandMsg<K> for ExpandMsgXof<HashT>where
HashT: Default + ExtendableOutput + Update + HashMarker + CollisionResistance<CollisionResistance: IsGreaterOrEqual<K, Output = True>>,
K: Mul<U2, Output: ArraySize>,
impl<HashT, K> ExpandMsg<K> for ExpandMsgXof<HashT>where
HashT: Default + ExtendableOutput + Update + HashMarker + CollisionResistance<CollisionResistance: IsGreaterOrEqual<K, Output = True>>,
K: Mul<U2, Output: ArraySize>,
Source§type Expander<'dst> = ExpandMsgXof<HashT>
type Expander<'dst> = ExpandMsgXof<HashT>
Type holding data for the
Expander.Source§type Error = ExpandMsgXofError
type Error = ExpandMsgXofError
Error returned by
ExpandMsg::expand_message.Source§impl<HashT> Expander for ExpandMsgXof<HashT>
impl<HashT> Expander for ExpandMsgXof<HashT>
Auto Trait Implementations§
impl<HashT> Freeze for ExpandMsgXof<HashT>
impl<HashT> RefUnwindSafe for ExpandMsgXof<HashT>
impl<HashT> Send for ExpandMsgXof<HashT>
impl<HashT> Sync for ExpandMsgXof<HashT>
impl<HashT> Unpin for ExpandMsgXof<HashT>
impl<HashT> UnsafeUnpin for ExpandMsgXof<HashT>
impl<HashT> UnwindSafe for ExpandMsgXof<HashT>
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