Struct octavo_crypto::asymmetric::dh::DHPrivateKey [] [src]

pub struct DHPrivateKey<'a> {
    // some fields omitted
}

Methods

impl<'a> DHPrivateKey<'a>
[src]

fn key(&self) -> BigUint

fn public_key(&self) -> DHPublicKey

fn exchange(&self, pub_key: &DHPublicKey) -> BigUint