Function dnstplib::crypto::get_shared_asym_secret

source ยท
pub fn get_shared_asym_secret(
    secret: &EphemeralSecret,
    opposing_public_key: &String,
) -> Result<SharedSecret<NistP256>, ()>
Expand description

Use one private key and an opposing public key to arrive at the same shared secret