Trait taple_core::crypto::DHKE

source ·
pub trait DHKE {
    // Required method
    fn key_exchange(&self, their_public: &Self) -> Result<Vec<u8>, Error>;
}
Expand description

Used for Diffie–Hellman key exchange operations

Required Methods§

source

fn key_exchange(&self, their_public: &Self) -> Result<Vec<u8>, Error>

Perform key exchange operation

Implementors§