Enum orion::core::options::ShaVariantOption[][src]

pub enum ShaVariantOption {
    SHA256,
    SHA384,
    SHA512,
}

SHA2 options and hashing.

Variants

Methods

impl ShaVariantOption
[src]

Return the output size in bytes.

Return blocksize matching SHA variant.

Return a SHA2 digest of a given byte slice.

Trait Implementations

impl Clone for ShaVariantOption
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ShaVariantOption
[src]

Auto Trait Implementations