[][src]Trait sequoia_openpgp::crypto::Hash

pub trait Hash {
    fn hash<H: Hash + Write>(&self, hash: &mut H);
}

Hashes OpenPGP packets and related types.

Required methods

fn hash<H: Hash + Write>(&self, hash: &mut H)

Updates the given hash with this object.

Loading content...

Implementors

impl Hash for Ciphertext[src]

fn hash<H: Hash + Write>(&self, hash: &mut H)[src]

Update the Hash with a hash of the MPIs.

impl Hash for PublicKey[src]

fn hash<H: Hash + Write>(&self, hash: &mut H)[src]

Update the Hash with a hash of the MPIs.

impl Hash for SecretKey[src]

fn hash<H: Hash + Write>(&self, hash: &mut H)[src]

Update the Hash with a hash of the MPIs.

impl Hash for sequoia_openpgp::crypto::mpis::Signature[src]

fn hash<H: Hash + Write>(&self, hash: &mut H)[src]

Update the Hash with a hash of the MPIs.

impl Hash for MPI[src]

fn hash<H: Hash + Write>(&self, hash: &mut H)[src]

Update the Hash with a hash of the MPIs.

impl Hash for Key[src]

fn hash<H: Hash + Write>(&self, hash: &mut H)[src]

Update the Hash with a hash of the key.

impl Hash for Builder[src]

fn hash<H: Hash + Write>(&self, hash: &mut H)[src]

Adds the Signature to the provided hash context.

impl Hash for sequoia_openpgp::packet::signature::Signature[src]

fn hash<H: Hash + Write>(&self, hash: &mut H)[src]

Adds the Signature to the provided hash context.

impl Hash for UserID[src]

fn hash<H: Hash + Write>(&self, hash: &mut H)[src]

Update the Hash with a hash of the user id.

impl Hash for UserAttribute[src]

fn hash<H: Hash + Write>(&self, hash: &mut H)[src]

Update the Hash with a hash of the user attribute.

Loading content...