Trait ockam_vault_core::AsymmetricVault[][src]

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

Vault with asymmetric encryption functionality

Required methods

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

Implementors