Trait xxxdh::DiffieHellman[][src]

pub trait DiffieHellman {
    type S: SharedSecretKey;
    type P: PublicKey;
    fn diffie_hellman(&self, peer_public: &Self::P) -> Self::S;
}

Associated Types

Required methods

Implementors