Struct blakeout::Blakeout[][src]

pub struct Blakeout { /* fields omitted */ }

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

impl Default for Blakeout[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.