Enum sit_core::hash::HashingAlgorithm [] [src]

pub enum HashingAlgorithm {
    Blake2b {
        size: usize,
    },
    SHA1,
}

Enumerates known hashing algorithm. Its content depends on features enabled during build-time

Variants

BLAKE2b algorithm

Fields of Blake2b

digest size

SHA-1 algorithm

Methods

impl HashingAlgorithm
[src]

[src]

Creates a boxed instance of Hasher for the algorithm

Trait Implementations

impl Debug for HashingAlgorithm
[src]

[src]

Formats the value using the given formatter.

impl Clone for HashingAlgorithm
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for HashingAlgorithm
[src]

[src]

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