pub struct StreamingHasher { /* private fields */ }Expand description
Streaming hash verifier for chunked data reception.
Accumulates a SHA-256 hash across multiple update calls
and produces the final hex string with finalize.
Implementations§
Source§impl StreamingHasher
impl StreamingHasher
Sourcepub fn finalize_raw(self) -> [u8; 32]
pub fn finalize_raw(self) -> [u8; 32]
Finalize and return the raw 32-byte hash.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StreamingHasher
impl RefUnwindSafe for StreamingHasher
impl Send for StreamingHasher
impl Sync for StreamingHasher
impl Unpin for StreamingHasher
impl UnsafeUnpin for StreamingHasher
impl UnwindSafe for StreamingHasher
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