[][src]Struct sha2::Sha512

pub struct Sha512 { /* fields omitted */ }

The SHA-512 hash algorithm with the SHA-512 initial hash value.

Trait Implementations

impl Debug for Sha512

Formats the value using the given formatter. Read more

impl Clone for Sha512
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Sha512
[src]

Returns the "default value" for a type. Read more

impl Input for Sha512
[src]

Digest input data. This method can be called repeatedly for use with streaming messages. Read more

impl FixedOutput for Sha512
[src]

Retrieve the digest result. This method consumes digest instance.

impl BlockInput for Sha512
[src]

Auto Trait Implementations

impl Send for Sha512

impl Sync for Sha512

Blanket Implementations

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<D> Digest for D where
    D: Input + BlockInput + FixedOutput + Default
[src]

Create new hasher instance

Digest input data. This method can be called repeatedly for use with streaming messages. Read more

Retrieve the digest result. This method consumes digest instance.

Convenience function to compute hash of the data. It will handle hasher creation, data feeding and finalization. Read more

Convenience function to compute hash of the string. It's equivalent to digest(input_string.as_bytes()). Read more

impl<T> Same for T
[src]

Should always be Self