Enum multihash::HashTypes [] [src]

pub enum HashTypes {
    SHA1,
    SHA2256,
    SHA2512,
    SHA3512,
    SHA3384,
    SHA3256,
    SHA3224,
    Blake2b,
    Blake2s,
}

List of types currently supported in the multihash spec.

Not all hash types are supported by this library.

Variants

Encoding unsupported

SHA-256 (32-byte hash size)

SHA-512 (64-byte hash size)

Encoding unsupported

Encoding unsupported

Encoding unsupported

Encoding unsupported

Encoding unsupported

Encoding unsupported

Methods

impl HashTypes
[src]

Get the corresponding hash code

Get the hash length in bytes

Get the human readable name

Trait Implementations

impl PartialEq for HashTypes
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for HashTypes
[src]

impl Clone for HashTypes
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for HashTypes
[src]

Formats the value using the given formatter.