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
pub trait DHKE {
// Required method
fn key_exchange(&self, their_public: &Self) -> Result<Vec<u8>, Error>;
}
Used for Diffie–Hellman key exchange operations