pub trait Opener: Send + Sync {
// Required method
fn box_open(
&self,
nonce: &[u8; 15],
ciphertext: Vec<u8>,
additional_data: Vec<u8>,
peers_public_key: &PublicKey,
) -> Result<Vec<u8>>;
}Expand description
An abstract Deoxys-II-256-128 box opener.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".