Trait ockam_vault_core::AsymmetricVault[][src]

pub trait AsymmetricVault: Zeroize {
    fn ec_diffie_hellman(
        &mut self,
        context: &Secret,
        peer_public_key: &PublicKey
    ) -> Result<Secret>; }

Vault with asymmetric encryption functionality

Required methods

fn ec_diffie_hellman(
    &mut self,
    context: &Secret,
    peer_public_key: &PublicKey
) -> Result<Secret>
[src]

Compute Elliptic-Curve Diffie-Hellman using this secret key and the specified uncompressed public key

Loading content...

Implementors

Loading content...