Struct merkle_sigs::MerklePublicKey[][src]

pub struct MerklePublicKey {
    pub key: PublicKey,
}

A wrapper struct around a Lamport public key that implements Hashable.

Fields

The wrapped Lamport public key.

Methods

impl MerklePublicKey
[src]

Convenience method to wrap a Lamport PublicKey into a MerklePublicKey

Trait Implementations

impl Debug for MerklePublicKey
[src]

Formats the value using the given formatter. Read more

impl Clone for MerklePublicKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MerklePublicKey
[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 MerklePublicKey
[src]

impl Hash for MerklePublicKey
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Hashable for MerklePublicKey
[src]

Update the given context with self. Read more

impl Into<Vec<u8>> for MerklePublicKey
[src]

Important traits for Vec<u8>

Performs the conversion.

Auto Trait Implementations

impl Send for MerklePublicKey

impl Sync for MerklePublicKey