pub fn decapsulate_boxed(
ciphertext: &Ciphertext,
secret_key: &SecretKey<'_>,
) -> SharedSecret<'static>
Available on crate feature
alloc
only.Expand description
Convenient wrapper around decapsulate
that stores the shared secret on the heap
and returns it with the 'static
lifetime.