Struct blakeout::Blakeout [−][src]
Implementations
impl Blakeout
[src]
pub fn new() -> Self
[src]
Creates new instance of Blakeout hasher
pub fn update(&mut self, data: impl AsRef<[u8]>)
[src]
Updates (hashes) supplied data
pub fn reset(&mut self)
[src]
Resets current dirty state to start over
pub fn output_size() -> usize
[src]
Returns the size of result hash in bytes
pub fn result(&self) -> &[u8]
[src]
Returns a slice of result hash, can be used multiple times
pub fn result_str(&self) -> String
[src]
Converts the result hash to a String and returns it
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Blakeout
impl Send for Blakeout
impl Sync for Blakeout
impl Unpin for Blakeout
impl UnwindSafe for Blakeout
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,