Struct cryptid::Hasher [−][src]
pub struct Hasher { /* fields omitted */ }
Implementations
impl Hasher
[src]
impl Hasher
[src]pub fn sha_256() -> Self
[src]
pub fn sha_512() -> Self
[src]
pub fn update(&mut self, data: &[u8])
[src]
pub fn and_update(self, data: &[u8]) -> Self
[src]
pub fn finish(self) -> Digest
[src]
pub fn finish_64_bytes(self) -> Option<[u8; 64]>
[src]
pub fn finish_scalar(self) -> Scalar
[src]
pub fn finish_vec(self) -> Vec<u8>
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Hasher
impl Send for Hasher
impl Sync for Hasher
impl Unpin for Hasher
impl UnwindSafe for Hasher
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
[src]
impl<T> Pointable for T
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more