pub struct Sha1Core { /* private fields */ }
Expand description
Core SHA-1 hasher state.
Trait Implementations
sourceimpl AlgorithmName for Sha1Core
impl AlgorithmName for Sha1Core
sourcefn write_alg_name(f: &mut Formatter<'_>) -> Result
fn write_alg_name(f: &mut Formatter<'_>) -> Result
Write algorithm name into
f
.sourceimpl BlockSizeUser for Sha1Core
impl BlockSizeUser for Sha1Core
sourceimpl BufferKindUser for Sha1Core
impl BufferKindUser for Sha1Core
type BufferKind = Eager
type BufferKind = Eager
Block buffer kind over which type operates.
sourceimpl FixedOutputCore for Sha1Core
impl FixedOutputCore for Sha1Core
sourcefn finalize_fixed_core(
&mut self,
buffer: &mut Buffer<Self>,
out: &mut Output<Self>
)
fn finalize_fixed_core(
&mut self,
buffer: &mut Buffer<Self>,
out: &mut Output<Self>
)
Finalize state using remaining data stored in the provided block buffer,
write result into provided array and leave
self
in a dirty state. Read moresourceimpl OutputSizeUser for Sha1Core
impl OutputSizeUser for Sha1Core
sourceimpl UpdateCore for Sha1Core
impl UpdateCore for Sha1Core
sourcefn update_blocks(&mut self, blocks: &[Block<Self>])
fn update_blocks(&mut self, blocks: &[Block<Self>])
Update state using the provided data blocks.
impl HashMarker for Sha1Core
Auto Trait Implementations
impl RefUnwindSafe for Sha1Core
impl Send for Sha1Core
impl Sync for Sha1Core
impl Unpin for Sha1Core
impl UnwindSafe for Sha1Core
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more