pub struct PreHasherXof<HashT>{
reader: <HashT as ExtendableOutput>::Reader,
}Expand description
Signing pre-hasher for Ed448ph with a xof output
Fields§
§reader: <HashT as ExtendableOutput>::ReaderImplementations§
Source§impl<HashT> PreHasherXof<HashT>
impl<HashT> PreHasherXof<HashT>
Sourcepub fn new(hasher: HashT) -> Self
pub fn new(hasher: HashT) -> Self
Create a new PreHasherXof from a HashT
Trait Implementations§
Source§impl<HashT> Debug for PreHasherXof<HashT>
impl<HashT> Debug for PreHasherXof<HashT>
Source§impl<HashT> From<HashT> for PreHasherXof<HashT>
impl<HashT> From<HashT> for PreHasherXof<HashT>
Source§impl<HashT> PreHash for PreHasherXof<HashT>
impl<HashT> PreHash for PreHasherXof<HashT>
Source§fn fill_bytes(&mut self, out: &mut [u8])
fn fill_bytes(&mut self, out: &mut [u8])
Fill the given
out buffer with the hash bytesAuto Trait Implementations§
impl<HashT> Freeze for PreHasherXof<HashT>
impl<HashT> RefUnwindSafe for PreHasherXof<HashT>
impl<HashT> Send for PreHasherXof<HashT>
impl<HashT> Sync for PreHasherXof<HashT>
impl<HashT> Unpin for PreHasherXof<HashT>
impl<HashT> UnsafeUnpin for PreHasherXof<HashT>
impl<HashT> UnwindSafe for PreHasherXof<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