[][src]Enum leslie_lamport::Algorithms

pub enum Algorithms {
    OS_SHA256,
    OS_SHA512,
    BLAKE2B,
    BLAKE2B_64,
}

Hashing Algorithms

This Lists the Algorithms available to Hash the Secret Key from, Generate, and Verify The Signature Against the Public Key.

  • OS_SHA256 (Operating System SHA256 using crypto-hash)
  • OS_SHA512 (Operating System SHA512 using crypto-hash)
  • BLAKE2B (Rust Library For Blake2b using blake2-rfc)
  • BLAKE2B_64 (Rust Library For Blake2b using blake2-rfc with a digest of 64 bytes)

Variants

OS_SHA256
OS_SHA512
BLAKE2B
BLAKE2B_64

Trait Implementations

impl Clone for Algorithms[src]

impl Copy for Algorithms[src]

impl Debug for Algorithms[src]

impl<'de> Deserialize<'de> for Algorithms[src]

impl Hash for Algorithms[src]

impl PartialEq<Algorithms> for Algorithms[src]

impl PartialOrd<Algorithms> for Algorithms[src]

impl Serialize for Algorithms[src]

impl StructuralPartialEq for Algorithms[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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.