[][src]Struct over_there_auth::Sha512Authenticator

pub struct Sha512Authenticator { /* fields omitted */ }

Methods

impl Sha512Authenticator[src]

pub fn new(key: &[u8]) -> Self[src]

Trait Implementations

impl Authenticator for Sha512Authenticator[src]

impl Clone for Sha512Authenticator[src]

impl Default for Sha512Authenticator[src]

NOTE: This is purely for derive_builder and should not be used externally

impl Signer for Sha512Authenticator[src]

fn sign(&self, message: &[u8]) -> Digest[src]

Signs some some message, producing a digest

impl Verifier for Sha512Authenticator[src]

fn verify(&self, message: &[u8], signature: &Digest) -> bool[src]

Verifies a signature (digest) for some message

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.